Skip to content

Commit

Permalink
fixed so rails will load this plugin as a gem as well (if we have it …
Browse files Browse the repository at this point in the history
…as a gem)
  • Loading branch information
thomaslundstrom committed Jan 5, 2011
1 parent 1894129 commit c7cae3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rails/init.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require File.dirname(__FILE__) + '/../lib/mobile_fu_helper'
require File.dirname(__FILE__) + '/../lib/mobilized_styles'
require File.dirname(__FILE__) + '/../lib/mobile_fu'
require File.dirname(__FILE__) + '/../lib/mobile-fu'

ActionView::Base.send(:include, MobileFuHelper)
ActionView::Base.send(:include, MobilizedStyles)
ActionView::Base.send(:alias_method_chain, :stylesheet_link_tag, :mobilization)
ActionView::Base.send(:alias_method_chain, :stylesheet_link_tag, :mobilization)

0 comments on commit c7cae3f

Please sign in to comment.