@@ -56,7 +56,7 class IssueStatusesController < ApplicationController | |||||
56 | @issue_status = IssueStatus.find(params[:id]) |
|
56 | @issue_status = IssueStatus.find(params[:id]) | |
57 | if @issue_status.update_attributes(params[:issue_status]) |
|
57 | if @issue_status.update_attributes(params[:issue_status]) | |
58 | flash[:notice] = l(:notice_successful_update) |
|
58 | flash[:notice] = l(:notice_successful_update) | |
59 | redirect_to issue_statuses_path |
|
59 | redirect_to issue_statuses_path(:page => params[:page]) | |
60 | else |
|
60 | else | |
61 | render :action => 'edit' |
|
61 | render :action => 'edit' | |
62 | end |
|
62 | end |
@@ -64,7 +64,7 class TrackersController < ApplicationController | |||||
64 | @tracker = Tracker.find(params[:id]) |
|
64 | @tracker = Tracker.find(params[:id]) | |
65 | if @tracker.update_attributes(params[:tracker]) |
|
65 | if @tracker.update_attributes(params[:tracker]) | |
66 | flash[:notice] = l(:notice_successful_update) |
|
66 | flash[:notice] = l(:notice_successful_update) | |
67 | redirect_to trackers_path |
|
67 | redirect_to trackers_path(:page => params[:page]) | |
68 | return |
|
68 | return | |
69 | end |
|
69 | end | |
70 | edit |
|
70 | edit |
@@ -23,7 +23,7 | |||||
23 | <td><%= h status.default_done_ratio %></td> |
|
23 | <td><%= h status.default_done_ratio %></td> | |
24 | <% end %> |
|
24 | <% end %> | |
25 | <td><%= checked_image status.is_closed? %></td> |
|
25 | <td><%= checked_image status.is_closed? %></td> | |
26 | <td class="reorder"><%= reorder_links('issue_status', {:action => 'update', :id => status}, :put) %></td> |
|
26 | <td class="reorder"><%= reorder_links('issue_status', {:action => 'update', :id => status, :page => params[:page]}, :put) %></td> | |
27 | <td class="buttons"> |
|
27 | <td class="buttons"> | |
28 | <%= delete_link issue_status_path(status) %> |
|
28 | <%= delete_link issue_status_path(status) %> | |
29 | </td> |
|
29 | </td> |
@@ -24,7 +24,7 | |||||
24 | <% end %> |
|
24 | <% end %> | |
25 | </td> |
|
25 | </td> | |
26 | <td class="reorder"> |
|
26 | <td class="reorder"> | |
27 | <%= reorder_links('tracker', {:action => 'update', :id => tracker}, :put) %> |
|
27 | <%= reorder_links('tracker', {:action => 'update', :id => tracker, :page => params[:page]}, :put) %> | |
28 | </td> |
|
28 | </td> | |
29 | <td class="buttons"> |
|
29 | <td class="buttons"> | |
30 | <%= delete_link tracker_path(tracker) %> |
|
30 | <%= delete_link tracker_path(tracker) %> |
General Comments 0
You need to be logged in to leave comments.
Login now