summaryrefslogtreecommitdiff
path: root/app/views/call_routes
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-18 10:19:09 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-18 10:19:09 +0100
commit5efd9bdd2f78a15569fb7d1569dceff3bb4f8800 (patch)
treef673fa35c56406b8b1dd664acd4262e4dbd6c2c9 /app/views/call_routes
parentf4abcadbee2dac3f2d8e4dc710af364300aa41bf (diff)
Fixed a strange strong_parameter cancan bug.
Diffstat (limited to 'app/views/call_routes')
-rw-r--r--app/views/call_routes/_form_core.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/call_routes/_form_core.html.haml b/app/views/call_routes/_form_core.html.haml
index 2eee795..b64d660 100644
--- a/app/views/call_routes/_form_core.html.haml
+++ b/app/views/call_routes/_form_core.html.haml
@@ -1,5 +1,5 @@
.inputs
- = f.input :routing_table, :collection => CallRoute::ROUTING_TABLES, :label => t('call_routes.form.table.label'), :hint => conditional_hint('call_routes.form.table.hint'), :include_blank => false
+ = f.input :routing_table, :collection => CallRoute::ROUTING_TABLES, :label => t('call_routes.form.table.label'), :hint => conditional_hint('call_routes.form.table.hint'), :include_blank => false, :autofocus => true
= f.input :name, :label => t('call_routes.form.name.label'), :hint => conditional_hint('call_routes.form.name.hint')
= f.input :endpoint_type, :label => t('call_routes.form.endpoint_type.label'), :hint => conditional_hint('call_routes.form.endpoint_type.hint')
= f.input :endpoint_id, :label => t('call_routes.form.endpoint_id.label'), :hint => conditional_hint('call_routes.form.endpoint_id.hint')