Class: AuthorizedController
- Inherits:
-
InheritedResources::Base
- Object
- InheritedResources::Base
- AuthorizedController
- Defined in:
- app/controllers/authorized_controller.rb
Direct Known Subclasses
AccountTypesController, AccountsController, AttachmentsController, BookingImportsController, BookingTemplatesController, BookingsController, ChargeRatesController, EmploymentsController, InvoicesController, NotesController, PeopleController, SalariesController, TenantsController, UsersController
Instance Method Summary collapse
Instance Method Details
#set_locale ⇒ Object
15 16 17 |
# File 'app/controllers/authorized_controller.rb', line 15 def set_locale I18n.locale = current_user.locale if current_user end |