PodLegal
Display links to "Terms and Conditions" and "Privacy Policy" in the footer of your Diaspora pod's layout.
This gem does not force any particular terms or privacy policy on you. Instead, it generates two HAML views that you can edit as needed.
This is meant to be a proof of concept, but should work for you as long as Travis says the tests are green. :grin:
Installation
Add the following line to your Gemfile
gem 'deface', :git => 'git://github.com/railsdog/deface.git', :branch => 'dsl'
gem 'pod_legal', :git => 'git://github.com/stevenh512/pod_legal.git'
We need the dsl
branch of Deface for now, it includes fixes to the HAML converter that haven't been released to RubyGems yet.
Run bundle install
and rails generate pod_legal:install
from the root of your Diaspora pod to generate the default (blank) templates and routes. Note that you can run this command as many times as you need to, it will not overwrite your custom templates once you've edited them.
Copyright
Copyright 2012 Steven Hancock, licensed under GNU AGPL v3 or (at your option) any later version.