public
Rubygem
Description: Ruby helpers for avatar display
Clone URL: git://github.com/gcnovus/avatar.git
init.rb now points to new Rails init style
gcnovus (author)
Thu Jul 17 18:46:46 -0700 2008
commit  b5132669d6f4420e83ba94ae056a266ea1233845
tree    94c7dbaef4389d2d7d4ac282240a39990b99cc5f
parent  15fa40d5785b10935f44912eea50c4774e774729
...
1
 
 
 
 
 
...
 
1
2
3
4
5
0
@@ -1 +1,5 @@
0
-# File so gem can act like Rails plugin
0
+# Old Rails style init:
0
+if Object.const_defined?(:RAILS_ENV)
0
+ # redirect to the new style
0
+ require File.expand_path(File.join(File.dirname(__FILE__), 'lib', 'rails', 'init'))
0
+end

Comments

    No one has commented yet.