enviar a blazer
This commit is contained in:
parent
0612d16e6b
commit
c019c5ba20
1 changed files with 3 additions and 0 deletions
|
@ -2,9 +2,12 @@
|
||||||
|
|
||||||
class ApplicationController < ActionController::Base
|
class ApplicationController < ActionController::Base
|
||||||
before_action :authenticate_user!
|
before_action :authenticate_user!
|
||||||
|
|
||||||
def require_user
|
def require_user
|
||||||
redirect_to root_path unless current_user
|
redirect_to root_path unless current_user
|
||||||
end
|
end
|
||||||
|
|
||||||
def index
|
def index
|
||||||
|
redirect_to blazer_path
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue