Class: ActionDispatch::Routing::Mapper
- Inherits:
-
Object
- Object
- ActionDispatch::Routing::Mapper
- Defined in:
- lib/brightcontent/rails/routes.rb
Instance Method Summary collapse
Instance Method Details
#brightcontent_resources(&block) ⇒ Object
3 4 5 6 |
# File 'lib/brightcontent/rails/routes.rb', line 3 def brightcontent_resources(&block) define_user_resources(block) if block_given? mount Brightcontent::Engine => Brightcontent.path end |