Sha256: 4beb993673fe0450ecc0f2e6bb78479308458558db1435d62727c7dc710444bf

Contents?: true

Size: 161 Bytes

Versions: 12

Compression:

Stored size: 161 Bytes

Contents

module Lookbook
  module PreviewHelper
    def lookbook_display(key, fallback = nil)
      params[:lookbook][:display][key.to_sym] || fallback
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
lookbook-0.6.1 app/helpers/lookbook/preview_helper.rb
lookbook-0.6.0 app/helpers/lookbook/preview_helper.rb
lookbook-0.5.2 app/helpers/lookbook/preview_helper.rb
lookbook-0.5.1 app/helpers/lookbook/preview_helper.rb
lookbook-0.5.0 app/helpers/lookbook/preview_helper.rb
lookbook-0.5.0.beta.2 app/helpers/lookbook/preview_helper.rb
lookbook-0.5.0.beta.1 app/helpers/lookbook/preview_helper.rb
lookbook-0.5.0.beta.0 app/helpers/lookbook/preview_helper.rb
lookbook-0.4.8 app/helpers/lookbook/preview_helper.rb
lookbook-0.4.7 app/helpers/lookbook/preview_helper.rb
lookbook-0.4.6 app/helpers/lookbook/preview_helper.rb
lookbook-0.4.5 app/helpers/lookbook/preview_helper.rb