Class: Localtower::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Localtower::ApplicationController
- Defined in:
- app/controllers/localtower/application_controller.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#check_environment ⇒ Object
6 7 8 |
# File 'app/controllers/localtower/application_controller.rb', line 6 def check_environment raise if Rails.env.production? end |