0.0
No commit activity in last 3 years
No release in over 3 years
Makes it easy to add tell-a-friend functionality to any Rails app.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme
= spread

Makes it easy to add tell-a-friend functionality to any Rails app.


== Installation

Install the gem directly:

  sudo gem install pelargir-spread --source=http://gems.github.com
  
Or install the gem in your Rails project as a plugin:
  
  script/plugin install git://github.com/pelargir/spread.git

Or clone the project:

  git clone git://github.com/pelargir/spread.git


== Usage

Use spread's view helper to embed a link on the page you want to share:

  <%= spread :something %>

Let your controller know you're using spread:

  class SomeController < ActionController::Base
    spread :something
  end

That's all there is to it! (Spread's templates are currently static.
I'm working on making them overrideable so expect that soon.)


== Resources

Repository: http://github.com/pelargir/spread
Blog: http://matthewbass.com
Author: Matthew Bass

Extraction work sponsored by Terralien