Class: ActionDispatch::Routing::Mapper
- Inherits:
-
Object
- Object
- ActionDispatch::Routing::Mapper
- Defined in:
- lib/thesis/routing/routes.rb
Instance Method Summary collapse
Instance Method Details
#thesis_routes ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/thesis/routing/routes.rb', line 3 def thesis_routes put "thesis/update_page_content" => "thesis/thesis#update_page_content" post "thesis/create_page" => "thesis/thesis#create_page" delete "thesis/delete_page" => "thesis/thesis#delete_page" get "*slug" => 'thesis/thesis#show', constraints: ::Thesis::RouteConstraint.new end |