Revision 1db7e820
Added by Joseph Magen almost 10 years ago
config/routes.rb | ||
---|---|---|
end
|
||
end
|
||
|
||
constraints(:hostgroup => /[^\/]+/) do
|
||
match 'unattended/template/:id/:hostgroup', :to => "unattended#template"
|
||
end
|
||
end
|
||
|
||
resources :settings, :only => [:index, :update] do
|
||
... | ... | |
end
|
||
end
|
||
|
||
match 'unattended/template/:id/:hostgroup', :to => "unattended#template"
|
||
end
|
||
|
||
root :to => 'dashboard#index'
|
Also available in: Unified diff
fixes #5826 - Using dots in kickstart template names or hostgroups causes routing errors