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: 8da0eea47537944d7d5a626f6c74d349886e6a41
4
- data.tar.gz: 59207133b3c6249bb92cc94dbe010fcd300d38cb
3
+ metadata.gz: 287b4462121b3da0b4aabe4a5672ee757ee4b8e9
4
+ data.tar.gz: 6db80588b1dce2a6b0b38d0fa2097dd02e03643e
5
5
  SHA512:
6
- metadata.gz: 81acc402132b923f39937e93f8a082fc93077b358caeddf596d28cb9cf490fc7ff18af2f94cf04a3e3eeaa77e3ca3e2c588ceaf93fd239a75c5454f4306c2146
7
- data.tar.gz: 18e42c32e731829cf7597bbbc3d3465a789b7d0f3fe6c5c18952aee140b28e5bd3901c3868c62a633ecc990c4af5306f3540f5289c162b8d4581a4cafcd8b00f
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
@@ -1,3 +1,3 @@
1
1
  module Phcpresspro
2
- VERSION = "5.5.7"
2
+ VERSION = "5.5.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcpresspro
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.5.7
4
+ version: 5.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts