Sha256: 5ed79651c00cfb66dad1edeaa9b03c009227a9a9e6e992f4d8203a3a57d7117a

Contents?: true

Size: 489 Bytes

Versions: 10

Compression:

Stored size: 489 Bytes

Contents

module Jabe
  module ApplicationHelper
    include PublicEntryUrl

    def default_gravatar_url
      "#{request.protocol}#{request.host_with_port}#{asset_path('jabe/gravatar.gif')}"
    end

    def page_title(title)
      @page_title = title
    end

    def stylesheet(name)
      content_for :stylesheets do
        stylesheet_link_tag(name)
      end
    end

    def javascript(name)
      content_for :javascripts do
        javascript_include_tag(name)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
jabe-0.9.1 app/helpers/jabe/application_helper.rb
jabe-0.9.0 app/helpers/jabe/application_helper.rb
jabe-0.8.0 app/helpers/jabe/application_helper.rb
jabe-0.7.0 app/helpers/jabe/application_helper.rb
jabe-0.6.5 app/helpers/jabe/application_helper.rb
jabe-0.6.4 app/helpers/jabe/application_helper.rb
jabe-0.6.3 app/helpers/jabe/application_helper.rb
jabe-0.6.2 app/helpers/jabe/application_helper.rb
jabe-0.6.1 app/helpers/jabe/application_helper.rb
jabe-0.6.0 app/helpers/jabe/application_helper.rb