Module: MorriganEditorRails::ApplicationHelper
- Defined in:
- app/helpers/morrigan_editor_rails/application_helper.rb
Instance Method Summary collapse
Instance Method Details
#iframe_stylesheet ⇒ Object
3 4 5 6 7 8 9 |
# File 'app/helpers/morrigan_editor_rails/application_helper.rb', line 3 def iframe_stylesheet if ::MorriganEditorRails::Engine::config.respond_to?('iframe_css_file_name') ActionController::Base.helpers.asset_path(::MorriganEditorRails::Engine::config.iframe_css_file_name) else ActionController::Base.helpers.asset_path('morrigan_editor_rails/iframe.css') end end |