Sha256: bcb547f2b8101a80cac0bdd96ab0d394657db10bc85472a499b7e2a579f53040

Contents?: true

Size: 303 Bytes

Versions: 6

Compression:

Stored size: 303 Bytes

Contents

module Integrity
  module Helpers
    module Rendering
      def show(view, options={})
        @title = breadcrumbs(*options[:title])
        haml view
      end

      def partial(template, locals={})
        haml("_#{template}".to_sym, :locals => locals, :layout => false)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 4 rubygems

Version Path
brycethornton-integrity-0.1.7.1 lib/integrity/helpers/rendering.rb
foca-integrity-0.1.6 lib/integrity/helpers/rendering.rb
foca-integrity-0.1.7 lib/integrity/helpers/rendering.rb
foca-integrity-0.1.8 lib/integrity/helpers/rendering.rb
myronmarston-integrity-0.1.7.1 lib/integrity/helpers/rendering.rb
integrity-0.1.8 lib/integrity/helpers/rendering.rb