Sha256: 9a345092a474d094497a2e6783cbfdb6da5ee88a704bf80b20ee599e91fd0a43

Contents?: true

Size: 370 Bytes

Versions: 25

Compression:

Stored size: 370 Bytes

Contents

module EmberCLI
  module ViewHelpers
    def include_ember_script_tags(app_name)
      app = EmberCLI.configuration.apps.fetch(app_name)
      javascript_include_tag *app.exposed_js_assets
    end

    def include_ember_stylesheet_tags(app_name)
      app = EmberCLI.configuration.apps.fetch(app_name)
      stylesheet_link_tag *app.exposed_css_assets
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
ember-cli-rails-0.0.12 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.0.11 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.0.10 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.0.9 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.0.8 lib/ember-cli/view_helpers.rb