diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-19 20:20:18 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-19 20:20:18 +0000 |
commit | 0a05da4f332ae1f2514c2f795336881c69793e2b (patch) | |
tree | 7b757451d3a900039cb96a970a2401ea08c2f91f /app/views/custom_fields | |
parent | 8769eb53bc7b5a7e72421e20564066e59c5bda1d (diff) | |
download | redmine-0a05da4f332ae1f2514c2f795336881c69793e2b.tar.gz redmine-0a05da4f332ae1f2514c2f795336881c69793e2b.zip |
Removed calls to deprecated Object#type.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6297 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/custom_fields')
-rw-r--r-- | app/views/custom_fields/edit.rhtml | 2 | ||||
-rw-r--r-- | app/views/custom_fields/new.rhtml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/custom_fields/edit.rhtml b/app/views/custom_fields/edit.rhtml index d8a94a955..2790c2c9e 100644 --- a/app/views/custom_fields/edit.rhtml +++ b/app/views/custom_fields/edit.rhtml @@ -1,5 +1,5 @@ <h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %> - » <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %> + » <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.class.name %> » <%=h @custom_field.name %></h2> <% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "edit", :id => @custom_field } do |f| %> diff --git a/app/views/custom_fields/new.rhtml b/app/views/custom_fields/new.rhtml index e626ac4d6..85f6ef53e 100644 --- a/app/views/custom_fields/new.rhtml +++ b/app/views/custom_fields/new.rhtml @@ -1,5 +1,5 @@ <h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %> - » <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.type %> + » <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.class.name %> » <%= l(:label_custom_field_new) %></h2> <% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "new" } do |f| %> |