Commit dc9f670f53c5d37cf9421d1281555e83b2038d1d

Authored by Leandro Santos
2 parents 609f1fb5 338c6e02

Merge branch 'production' of gitlab.com:participa/noosfero into production

app/controllers/my_profile/tasks_controller.rb
1 1 class TasksController < MyProfileController
2 2  
3 3 protect [:perform_task, :view_tasks], :profile, :only => [:index, :save_tags, :search_tags]
4   - protect :perform_task, :profile, :except => [:index, :save_tags, :search_tags]
  4 + protect :perform_task, :profile, :only => [:processed, :change_responsible, :close, :new, :list_requested, :ticket_details, :search_tags]
5 5  
6 6 def index
7 7 @rejection_email_templates = profile.email_templates.find_all_by_template_type(:task_rejection)
... ...