OSDN Git Service

admin_user_path correction
authorAndrea Dal Ponte <dalpo85@gmail.com>
Fri, 6 Apr 2012 10:00:13 +0000 (12:00 +0200)
committerAndrea Dal Ponte <dalpo85@gmail.com>
Fri, 6 Apr 2012 10:00:13 +0000 (12:00 +0200)
app/views/admin/projects/show.html.haml

index 6685738..e3f5c3b 100644 (file)
@@ -51,7 +51,7 @@
     - @admin_project.users_projects.each do |tm|
       %tr
         %td
-          = link_to tm.user_name, admin_users_path(tm.user)
+          = link_to tm.user_name, admin_user_path(tm.user)
         %td= select_tag :tm_project_access, options_for_select(Project.access_options, tm.project_access), :class => "medium project-access-select", :disabled => :disabled
         %td= link_to 'Edit Access', edit_admin_team_member_path(tm), :class => "btn small"
         %td= link_to 'Remove from team', admin_team_member_path(tm), :confirm => 'Are you sure?', :method => :delete, :class => "btn danger small"