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