diff options
| author | Dingding Ye | 2011-06-01 17:00:12 +0800 |
|---|---|---|
| committer | Dingding Ye | 2011-06-01 17:00:12 +0800 |
| commit | 6e0c2613444ac1d6d5c9be577531001e63eb3a26 (patch) | |
| tree | ea6ad92d7eaa47f7b471e6dd6c76956571cd82d9 /lib/sms_fu/rails.rb | |
| parent | 608fc07d30ca2f0d7b8554aaec1fa2a63b90f2a7 (diff) | |
| download | sms-fu-6e0c2613444ac1d6d5c9be577531001e63eb3a26.tar.bz2 | |
Use Rails::Engine to load SMSFu rails integration
Diffstat (limited to 'lib/sms_fu/rails.rb')
| -rw-r--r-- | lib/sms_fu/rails.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/sms_fu/rails.rb b/lib/sms_fu/rails.rb new file mode 100644 index 0000000..5483ca0 --- /dev/null +++ b/lib/sms_fu/rails.rb @@ -0,0 +1,9 @@ +module SMSFu + class Engine < ::Rails::Engine + initializer "setup for rails" do + ActionView::Base.send :include, SMSFuHelper + end + end +end + +puts "what the fuck" |
