Revision 749:3f28aebc5fc1 vendor/plugins/redmine_tags/lib/redmine_tags/patches
| vendor/plugins/redmine_tags/lib/redmine_tags/patches/projects_controller_patch.rb | ||
|---|---|---|
| 8 | 8 |
base.class_eval do |
| 9 | 9 |
unloadable |
| 10 | 10 |
before_filter :add_tags_to_project, :only => [:save, :update] |
| 11 |
before_filter :filter_projects, :only => :index |
|
| 11 |
before_filter :filter_projects, :only => :index
|
|
| 12 | 12 |
end |
| 13 | 13 |
end |
| 14 | 14 |
|
| ... | ... | |
| 30 | 30 |
end |
| 31 | 31 |
|
| 32 | 32 |
def filter_projects |
| 33 |
|
|
| 34 |
logger.error { "FILTRA PA!" }
|
|
| 35 |
|
|
| 33 |
logger.error { "before_filter: filter_projects" }
|
|
| 34 |
|
|
| 35 |
@project = Project.new |
|
| 36 |
|
|
| 36 | 37 |
respond_to do |format| |
| 37 | 38 |
format.any(:html, :xml) {
|
| 38 | 39 |
calculate_filtered_projects |
Also available in: Unified diff