@@ -25,8 +25,6 class IssuesController < ApplicationController | |||
|
25 | 25 | before_filter :authorize, :except => [:index, :changes, :preview, :update_form, :context_menu] |
|
26 | 26 | before_filter :find_optional_project, :only => [:index, :changes] |
|
27 | 27 | accept_key_auth :index, :changes |
|
28 | ||
|
29 | cache_sweeper :issue_sweeper, :only => [ :new, :edit, :bulk_edit, :destroy ] | |
|
30 | 28 | |
|
31 | 29 | helper :journals |
|
32 | 30 | helper :projects |
@@ -29,9 +29,6 class ProjectsController < ApplicationController | |||
|
29 | 29 | before_filter :require_admin, :only => [ :add, :archive, :unarchive, :destroy ] |
|
30 | 30 | accept_key_auth :activity, :calendar |
|
31 | 31 | |
|
32 | cache_sweeper :project_sweeper, :only => [ :add, :edit, :archive, :unarchive, :destroy ] | |
|
33 | cache_sweeper :version_sweeper, :only => [ :add_version ] | |
|
34 | ||
|
35 | 32 | helper :sort |
|
36 | 33 | include SortHelper |
|
37 | 34 | helper :custom_fields |
@@ -20,8 +20,6 class VersionsController < ApplicationController | |||
|
20 | 20 | menu_item :roadmap |
|
21 | 21 | before_filter :find_project, :authorize |
|
22 | 22 | |
|
23 | cache_sweeper :version_sweeper, :only => [ :edit, :destroy ] | |
|
24 | ||
|
25 | 23 | def show |
|
26 | 24 | end |
|
27 | 25 |
@@ -1,4 +1,3 | |||
|
1 | <% cache(:year => @year, :month => @month, :tracker_ids => @selected_tracker_ids, :subprojects => params[:with_subprojects], :lang => current_language) do %> | |
|
2 | 1 |
|
|
3 | 2 | |
|
4 | 3 | <table width="100%"> |
@@ -20,7 +19,6 | |||
|
20 | 19 | <%= image_tag 'arrow_from.png' %> <%= l(:text_tip_task_begin_day) %><br /> |
|
21 | 20 | <%= image_tag 'arrow_to.png' %> <%= l(:text_tip_task_end_day) %><br /> |
|
22 | 21 | <%= image_tag 'arrow_bw.png' %> <%= l(:text_tip_task_begin_end_day) %><br /> |
|
23 | <% end %> | |
|
24 | 22 | |
|
25 | 23 | <% content_for :sidebar do %> |
|
26 | 24 | <h3><%= l(:label_calendar) %></h3> |
@@ -55,8 +55,6 t_height = g_height + headers_height | |||
|
55 | 55 | </table> |
|
56 | 56 | <% end %> |
|
57 | 57 | |
|
58 | <% cache(:year => @year_from, :month => @month_from, :months => @months, :zoom => @zoom, :tracker_ids => @selected_tracker_ids, :subprojects => params[:with_subprojects], :lang => current_language) do %> | |
|
59 | ||
|
60 | 58 | <table width="100%" style="border:0; border-collapse: collapse;"> |
|
61 | 59 | <tr> |
|
62 | 60 | <td style="width:<%= subject_width %>px;"> |
@@ -205,9 +203,6 top = headers_height + 10 | |||
|
205 | 203 | <% top = top + 20 |
|
206 | 204 | end %> |
|
207 | 205 | |
|
208 | <% end # cache | |
|
209 | %> | |
|
210 | ||
|
211 | 206 | <% |
|
212 | 207 | # |
|
213 | 208 | # Today red line (excluded from cache) |
|
1 | NO CONTENT: file was removed |
|
1 | NO CONTENT: file was removed |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now