Revision dd838ac2
Added by Joseph Magen over 11 years ago
- ID dd838ac2bd1ec30792b2c923c761b87dbc8c8c2b
app/controllers/api/v1/config_templates_controller.rb | ||
---|---|---|
end
|
||
|
||
def default_template_url template, hostgroup
|
||
url_for :only_path => false, :action => :template, :controller => :unattended,
|
||
url_for :only_path => false, :action => :template, :controller => '/unattended',
|
||
:id => template.name, :hostgroup => hostgroup.name
|
||
end
|
||
|
Also available in: Unified diff
added slash /unattended to other url_for calls