Class: Admin::ClientAccountingController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Admin::ClientAccountingController
- Includes:
- AdminLayoutHelper, ExtensibleObjectHelper
- Defined in:
- app/controllers/admin/client_accounting_controller.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods included from ExtensibleObjectHelper
Methods included from AdminLayoutHelper
append_features, #controller_url, #define_layout_variables, #index_with_admin_helper
Methods included from ApplicationHelper
#controller_id, #define_application_layout_variables, #h_money, #money_for_input
Class Method Details
.active_scaffold_controller_for(klass) ⇒ Object
39 40 41 42 |
# File 'app/controllers/admin/client_accounting_controller.rb', line 39 def self.active_scaffold_controller_for(klass) # A hack since there's a view in use on this controller (klass == Invoice) ? Admin::InvoicesController : super(klass) end |
Instance Method Details
#conditions_for_collection ⇒ Object
44 45 46 |
# File 'app/controllers/admin/client_accounting_controller.rb', line 44 def conditions_for_collection ['is_active = ?', true] end |