2019-07-27 12:21:44 -04:00
|
|
|
require_dependency "<%= underscored_name %>_constraint"
|
|
|
|
|
|
|
|
<%= classified_name %>::Engine.routes.draw do
|
2019-10-21 03:24:14 -04:00
|
|
|
get "/" => "<%= underscored_name %>#index", constraints: <%= classified_name %>Constraint.new
|
2019-07-27 12:21:44 -04:00
|
|
|
get "/actions" => "actions#index", constraints: <%= classified_name %>Constraint.new
|
|
|
|
get "/actions/:id" => "actions#show", constraints: <%= classified_name %>Constraint.new
|
|
|
|
end
|