Class: ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- ApplicationController
- Defined in:
- app/controllers/application_controller.rb
Direct Known Subclasses
AffiliationsController, BusinessesController, ProviderPrivacyConfigurationsController, WelcomeController
Instance Method Summary (collapse)
Instance Method Details
- (Object) authorize_provider!
6 7 8 9 10 |
# File 'app/controllers/application_controller.rb', line 6 def unless current_user.is_a? Provider render file: '/public/404.html', status: 404 end end |