mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 04:03:45 +08:00
8 lines
379 B
Plaintext
8 lines
379 B
Plaintext
|
require_dependency "<%= underscored_name %>_constraint"
|
||
|
|
||
|
<%= classified_name %>::Engine.routes.draw do
|
||
|
get "/" => "<%= dasherized_name %>#index", constraints: <%= classified_name %>Constraint.new
|
||
|
get "/actions" => "actions#index", constraints: <%= classified_name %>Constraint.new
|
||
|
get "/actions/:id" => "actions#show", constraints: <%= classified_name %>Constraint.new
|
||
|
end
|