Sha256: 1c6116e9f93862e1bf2ce101d7a71692ec9d110337d22246d598ff3655a3d9f6

Contents?: true

Size: 400 Bytes

Versions: 2

Compression:

Stored size: 400 Bytes

Contents

module Fonts
  module Rails
    module ActionView
      module Base

        def google_fonts_link_tag(family)
          tag(
            :link, 
            {
              rel: :stylesheet,
              type: Mime::CSS,
              href: "http://fonts.googleapis.com/css?family=#{family}"
            },
            false, 
            false
          )
        end

      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fonts-rails-0.0.6 lib/fonts/rails/action_view/base.rb
fonts-rails-0.0.5 lib/fonts/rails/action_view/base.rb