Sha256: 1844c4637007e4d5cf378debd49d081e298b0c9dcf7c89944c977c67c0f68f9c

Contents?: true

Size: 409 Bytes

Versions: 1

Compression:

Stored size: 409 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

1 entries across 1 versions & 1 rubygems

Version Path
fonts-rails-0.0.3 lib/fonts/rails/action_view/base.rb