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.1.13 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.1.12 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.1.11 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.1.10 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.1.9 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.1.8 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.1.7 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.1.6 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.1.5 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.1.4 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.1.3 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.1.2 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.1.1 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.1.0 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.0.18 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.0.17 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.0.16 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.0.15 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.0.14 lib/ember-cli/view_helpers.rb
ember-cli-rails-0.0.13 lib/ember-cli/view_helpers.rb