Class: ActionDispatch::Routing::Mapper
- Inherits:
-
Object
- Object
- ActionDispatch::Routing::Mapper
- Defined in:
- lib/singtel_sdp/rails/routes.rb
Instance Method Summary collapse
Instance Method Details
#add_singtel_sdp_routes(controller = 'singtel_sdp/singtel') ⇒ Object
2 3 4 5 6 7 8 9 10 |
# File 'lib/singtel_sdp/rails/routes.rb', line 2 def add_singtel_sdp_routes(controller='singtel_sdp/singtel') lambda do scope '/singtel', module: :singtel do match 'adapter', via: :all match 'sso', via: :all get 'invalid_session' end end.call end |