phcpresspro 5.5.7 → 5.5.8
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: 287b4462121b3da0b4aabe4a5672ee757ee4b8e9
|
4
|
+
data.tar.gz: 6db80588b1dce2a6b0b38d0fa2097dd02e03643e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afbb4dda23c5a101813c1126aa42b2314dcb2744ba41705acaf289ba9e5ecfa9d552f6a3bb2e68d43e697df63cf5514df3ab9b1391aded1086f2d4c90bd5a9c1
|
7
|
+
data.tar.gz: f5b1f21206de4dcfbdf91dd73f944f3568dcb2bc9961125c91d21803fae0a46893c20e720ef3bb9035727e97dc77d5f57eb0a3465240836976c2d4b6ad725e61
|
@@ -29,11 +29,11 @@ module Phcpresspro
|
|
29
29
|
|
30
30
|
# POST
|
31
31
|
def create
|
32
|
+
@articles_post = Articles::Post.new(articles_post_params)
|
32
33
|
@articles_post.user_id = current_user.id
|
33
34
|
@articles_post.user_name = current_user.username
|
34
35
|
@articles_post.membership_id = membership_info.id
|
35
36
|
@articles_post.oganization_id = membership_info.org_id
|
36
|
-
@articles_post = Articles::Post.new(articles_post_params)
|
37
37
|
if @articles_post.save
|
38
38
|
@articles_post.connections.build
|
39
39
|
redirect_to articles_posts_url, notice: 'Post was successfully created.'
|
@@ -28,11 +28,11 @@ module Phcpresspro
|
|
28
28
|
|
29
29
|
# POST
|
30
30
|
def create
|
31
|
+
@modules_connection = Modules::Connection.new(modules_connection_params)
|
31
32
|
@modules_connection.user_id = current_user.id
|
32
33
|
@modules_connection.user_name = current_user.username
|
33
34
|
@modules_connection.membership_id = membership_info.id
|
34
35
|
@modules_connection.oganization_id = membership_info.org_id
|
35
|
-
@modules_connection = Modules::Connection.new(modules_connection_params)
|
36
36
|
if @modules_connection.save
|
37
37
|
redirect_to modules_connections_url, notice: 'Connection was successfully created.'
|
38
38
|
else
|
data/lib/phcpresspro/version.rb
CHANGED