Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

SocialIcons

Installation

Update Gemfile

gem 'social_icons', :git => “github.com/ozgun/social_icons.git

In order to load javascript only once, add the following code to your layout(probably application layout):

<pre>

<head>
  ...
  <%= yield(:head) %>
</head>
<body>
  <%= yield(:after_body) %>
  ...
</body>

</pre>

Usage

<%= print_social_icons(link: post_url(@post), title: post.title) %>

<%= facebook_comments(link: post_url(@post)) %>

About

A rails plugins to display social network icons easily in your web applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published