Sha256: 4bcf5fc6037a6d37a3e661444d78daca66504a0960c83300aee22c525d473b2f

Contents?: true

Size: 517 Bytes

Versions: 8

Compression:

Stored size: 517 Bytes

Contents

class AssetController < Zen::Controller::AdminController
  map '/spec/asset'

  javascript ['spec']
  stylesheet ['reset']

  javascript ['specific'], :method => :specific
  javascript ['array']   , :method => [:array, :array_1]

  def index; end

  def javascripts; Zen::Asset.build(:javascript); end
  def stylesheets; Zen::Asset.build(:stylesheet); end

  def specific ; Zen::Asset.build(:javascript); end
  def array    ; Zen::Asset.build(:javascript); end
  def array_1  ; Zen::Asset.build(:javascript); end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
zen-0.4.3 spec/fixtures/zen/asset.rb
zen-0.4.2 spec/fixtures/zen/asset.rb
zen-0.4.1 spec/fixtures/zen/asset.rb
zen-0.4 spec/fixtures/zen/asset.rb
zen-0.3 spec/fixtures/zen/asset.rb
zen-0.3b1 spec/fixtures/zen/asset.rb
zen-0.3b spec/fixtures/zen/asset.rb
zen-0.2.8 spec/fixtures/zen/asset.rb