diff --git a/app/controllers/articles_controller.rb b/app/controllers/articles_controller.rb index 0029a91..50cc57f 100644 --- a/app/controllers/articles_controller.rb +++ b/app/controllers/articles_controller.rb @@ -1,6 +1,6 @@ class ArticlesController < ApplicationController before_action :set_article, only: [:show, :edit, :update, :destroy] - before_filter :authenticate_user!, only: [:show, :edit, :update, :destroy] + before_filter :authenticate_user!, only: [:new, :create, :edit, :update, :destroy] # GET /articles # GET /articles.json