Class: Crowdblog::Controller
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Crowdblog::Controller
- Defined in:
- app/controllers/crowdblog/controller.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#authorize! ⇒ Object
6 7 8 |
# File 'app/controllers/crowdblog/controller.rb', line 6 def redirect_to main_app.new_user_session_url unless current_user end |