Skip to content

yesmeck/ads-rails

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<img src=“https://codeclimate.com/github/mattways/ads-rails.png” /> <img src=“https://travis-ci.org/mattways/ads-rails.png?branch=master” alt=“Build Status” /> <img src=“https://gemnasium.com/mattways/ads-rails.png” alt=“Dependency Status” />

Fonts Rails

Adds a simple helper to create the google adsense include tag.

Install

Put this line in your Gemfile:

gem 'ads-rails'

Then bundle:

$ bundle

Usage

In your layout add a line like this in your head:

= google_adsense_include_tag :client => 'client', :slot => 'slot', :width => 'width', :height => 'height'

(Will only show the include tag in production env)

About

Adds a simple helper to create the google adsense include tag.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 96.5%
  • JavaScript 3.5%