Require logged in status
This commit is contained in:
@@ -1,2 +1,7 @@
|
|||||||
class ApplicationController < ActionController::Base
|
class ApplicationController < ActionController::Base
|
||||||
|
include Devise::Controllers::Helpers
|
||||||
|
|
||||||
|
protect_from_forgery with: :exception
|
||||||
|
|
||||||
|
before_action :authenticate_user!
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user