Method: Admin::ActivitiesWithPricesController.active_scaffold_paths
- Defined in:
- app/controllers/admin/activities_with_prices_controller.rb
.active_scaffold_paths ⇒ Object
TODO: Put in a plugin-helper? We need to be sure the view is looking in the right place, this little hack should do it:
31 32 33 34 35 |
# File 'app/controllers/admin/activities_with_prices_controller.rb', line 31 def self.active_scaffold_paths super_view_path = BRISKBILLS_ROOT+'/app/views/admin/activities' @active_scaffold_overrides << super_view_path unless @active_scaffold_overrides.include? super_view_path super end |