Browse files

add rails-footnotes gem

  • Loading branch information...
1 parent bc804bc commit fca9dc0b973b8d7202160c18b33906dbfddc87d8 @mkuhl mkuhl committed Oct 2, 2011
Showing with 10 additions and 0 deletions.
  1. +1 −0 Gemfile
  2. +3 −0 Gemfile.lock
  3. +6 −0 config/initializers/rails_footnotes.rb
View
1 Gemfile
@@ -32,6 +32,7 @@ group :development do
#gem 'annotate', :git => 'git://github.com/ctran/annotate_models.git'
gem 'factory_girl_rails'
gem 'faker'
+ gem 'rails-footnotes'
end
group :production do
View
3 Gemfile.lock
@@ -98,6 +98,8 @@ GEM
activesupport (= 3.1.0)
bundler (~> 1.0)
railties (= 3.1.0)
+ rails-footnotes (3.7.5)
+ rails (>= 3.0.0)
railties (3.1.0)
actionpack (= 3.1.0)
activesupport (= 3.1.0)
@@ -163,6 +165,7 @@ DEPENDENCIES
less-rails-bootstrap (~> 1.3.0)
pg
rails (= 3.1.0)
+ rails-footnotes
rspec-rails (= 2.6.1)
sass-rails (~> 3.1.0)
sqlite3
View
6 config/initializers/rails_footnotes.rb
@@ -0,0 +1,6 @@
+if defined?(Footnotes) && Rails.env.development?
+ if true
+ Footnotes.run! # first of all
+ end
+ # ... other init code
+end

0 comments on commit fca9dc0

Please sign in to comment.