app/controllers/phcpress/blog/posts_controller.rb in phcpress-2.5.2 vs app/controllers/phcpress/blog/posts_controller.rb in phcpress-2.6.0
- old
+ new
@@ -5,10 +5,10 @@
module Phcpress
class Blog::PostsController < ApplicationController
# Filters & Security
layout 'layouts/phcpress/blogpost/blog_layout'
- before_action :authenticate_user!
+ #before_action :authenticate_user!
before_action :set_blog_post, only: [:edit, :update, :destroy]
# Blog Post Index (/blog/posts)
def index
@blog_posts = Blog::Post.all