This commit is contained in:
parent
467545c85a
commit
2b7ad6b321
|
|
@ -1,6 +1,6 @@
|
||||||
class ArticlesController < ApplicationController
|
class ArticlesController < ApplicationController
|
||||||
before_action :set_article, only: [:show, :edit, :update, :destroy]
|
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
|
||||||
# GET /articles.json
|
# GET /articles.json
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue