Class: ActionDispatch::Routing::Mapper
- Inherits:
-
Object
- Object
- ActionDispatch::Routing::Mapper
- Defined in:
- lib/sechat/routes.rb
Instance Method Summary collapse
Instance Method Details
#sechat ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/sechat/routes.rb', line 4 def sechat resources :questions do get :unanswered, :on => :collection resources :replies do put :answer, :on => :member end end end |