phcpress 2.8.8 → 2.8.9

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: 6b44c70033f27d23eb51c7f01bd1e96bb5846bba
4
- data.tar.gz: 03d062bb04e423e0b2e2d7ecc1731ec22595cc2e
3
+ metadata.gz: d362362643fa75f8310fc9fc8dae7b4153600813
4
+ data.tar.gz: 16ccdfc15c04ea72e0603940249c9ad79cd49112
5
5
  SHA512:
6
- metadata.gz: 4dc0dd087f0033a044762fc85882fade220b6242a97ca71b6a1479608161fc6dfffeba49d2ea7bfdb4f6569e4b798b722b08e177a6911c14d67470fa942f2226
7
- data.tar.gz: 2c90804ea6cd7b9d7c38224a1e9d89fe91e7b81729e5d3b861477cf2b239c16d8893acc0e6776f0b366dc8f3a75bef75c091ce1a8ccde82b8ed557e93db001ee
6
+ metadata.gz: 9ddf00b2b822465d9b0c98c8a8ed2a500edf25da710d4edcff54d7ce43e282125302f274c7f10035841ecdd5b706c475bc2f2891d0392badc0b1be9cc574942e
7
+ data.tar.gz: e306122fb592b73864305629d87a64d2a91e5d886f652c083e42c699ca20c6e7af6b07b85d2c458ec827237e2bbdc2fb2ae6af477d35adbf57ed30a1213ddaac
@@ -30,7 +30,7 @@ module Phcpress
30
30
 
31
31
  # Create News Post /news/posts/new
32
32
  def create
33
- @blog_post = Blog::Post.(blog_post_params)
33
+ @blog_post = Blog::Post.new(blog_post_params)
34
34
  @blog_post.user_id = current_user.id
35
35
  if @blog_post.save
36
36
  redirect_to blog_posts_path, notice: 'Blog post was successfully created.'
@@ -30,7 +30,7 @@ module Phcpress
30
30
 
31
31
  # Create News Post /news/posts/new
32
32
  def create
33
- @news_post = News::Post.(news_post_params)
33
+ @news_post = News::Post.new(news_post_params)
34
34
  @news_post.user_id = current_user.id
35
35
  if @news_post.save
36
36
  redirect_to news_posts_path, notice: 'News post was successfully created.'
@@ -1,3 +1,3 @@
1
1
  module Phcpress
2
- VERSION = "2.8.8"
2
+ VERSION = "2.8.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcpress
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.8
4
+ version: 2.8.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts