Sha256: 405bf8505c3c8b77955bbe0fdd7c5bdbd0f8ab795a63fc74368652c5accf453b

Contents?: true

Size: 254 Bytes

Versions: 1

Compression:

Stored size: 254 Bytes

Contents

helpers do
  include Sprockets::Helpers

  def js file
    file = "js/#{file}.js"
    %Q|<script src="#{asset_path file}"></script>|
  end

  def css file
    file = "css/#{file}.css"
    %Q|<link rel="stylesheet" href="#{asset_path file}"/>|
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simba-0.8.0 template/app/helpers/application_helper.rb