Class: Crowdblog::Controller

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/crowdblog/controller.rb

Instance Method Summary collapse

Instance Method Details

#authorize!Object



6
7
8
# File 'app/controllers/crowdblog/controller.rb', line 6

def authorize!
  redirect_to main_app.new_user_session_url unless current_user
end