Project

General

Profile

« Previous | Next » 

Revision 1db7e820

Added by Joseph Magen almost 10 years ago

fixes #5826 - Using dots in kickstart template names or hostgroups causes routing errors

View differences:

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