Module: CatRouter::Hook
- Defined in:
- lib/cat_router/hook.rb
Instance Method Summary collapse
Instance Method Details
#acts_as_cat_router(*args) ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/cat_router/hook.rb', line 2 def acts_as_cat_router(*args) = args. # now do the things that make the controller include CatRouter::InstanceMethods before_filter :set_locale, :load_cat_route end |