phcpress 2.9.1 → 2.9.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83919fb4c13ba58548cac0782c34e4457914a2a4
|
4
|
+
data.tar.gz: 2271dcdfc8a82fe1add49924a074f44f1ec1f31e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc870ab62fa816afabc588cb57ed4de10971fc3990a1b45599364b6a0aa055b8cc3f6038a4831d1f0b7e6c93ba9e01b3def695873ada252878909383901dc0c6
|
7
|
+
data.tar.gz: 59f8a56fcaae634fa50cbdcb6bbd4cf0428bec6e003df9322943df279188cceb7ba99b2add3cfd53c6dcea21b8990a3faab968a634eedb36b5f89815ff3924a1
|
@@ -64,7 +64,7 @@ module Phcpress
|
|
64
64
|
|
65
65
|
# Whitelist on what can be posted
|
66
66
|
def news_post_params
|
67
|
-
params.require(:news_post).permit(:newspsttitle, :newspsttext, :newspstexcerpts, :pststatus, :pstimage)
|
67
|
+
params.require(:news_post).permit(:newspsttitle, :newspsttext, :newspstexcerpts, :pststatus, :pstimage, :user_id)
|
68
68
|
end
|
69
69
|
|
70
70
|
# Current User
|
@@ -64,7 +64,7 @@ module Phcpress
|
|
64
64
|
|
65
65
|
# Whitelist on what can be posted
|
66
66
|
def news_post_params
|
67
|
-
params.require(:news_post).permit(:newspsttitle, :newspsttext, :newspstexcerpts, :pststatus, :pstimage)
|
67
|
+
params.require(:news_post).permit(:newspsttitle, :newspsttext, :newspstexcerpts, :pststatus, :pstimage, :user_id)
|
68
68
|
end
|
69
69
|
|
70
70
|
# Current User
|
data/lib/phcpress/version.rb
CHANGED