Sha256: 2497f2aaa70581c0c8266379a712a636eb80fb3d7ac71b0f582790dff078ac2b

Contents?: true

Size: 398 Bytes

Versions: 11

Compression:

Stored size: 398 Bytes

Contents

module MorriganEditorRails
  module ApplicationHelper
    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
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
morrigan_editor_rails-0.0.13 app/helpers/morrigan_editor_rails/application_helper.rb
morrigan_editor_rails-0.0.12 app/helpers/morrigan_editor_rails/application_helper.rb
morrigan_editor_rails-0.0.11 app/helpers/morrigan_editor_rails/application_helper.rb
morrigan_editor_rails-0.0.10 app/helpers/morrigan_editor_rails/application_helper.rb
morrigan_editor_rails-0.0.9 app/helpers/morrigan_editor_rails/application_helper.rb
morrigan_editor_rails-0.0.8 app/helpers/morrigan_editor_rails/application_helper.rb
morrigan_editor_rails-0.0.7 app/helpers/morrigan_editor_rails/application_helper.rb
morrigan_editor_rails-0.0.6 app/helpers/morrigan_editor_rails/application_helper.rb
morrigan_editor_rails-0.0.5 app/helpers/morrigan_editor_rails/application_helper.rb
morrigan_editor_rails-0.0.4 app/helpers/morrigan_editor_rails/application_helper.rb
morrigan_editor_rails-0.0.3 app/helpers/morrigan_editor_rails/application_helper.rb