Module: RedmineNonprojectModules::Patches::ActiveScaffoldJsResponse::SingletonMethods
- Defined in:
- lib/redmine_nonproject_modules/patches/active_scaffold_js_response.rb
Overview
Intercepts "included" on ActiveScaffold::Actions::Core itself, so every controller that later includes it also gets this module and the after_action callback below.
Instance Method Summary collapse
Instance Method Details
#included(base) ⇒ Object
11 12 13 14 15 |
# File 'lib/redmine_nonproject_modules/patches/active_scaffold_js_response.rb', line 11 def included(base) super base.include RedmineNonprojectModules::Patches::ActiveScaffoldJsResponse base.after_action :fix_active_scaffold_js_response_content_type end |