Allow title edit for confirmed proposal if organizer or admin and do not allow event type change for confirmed/unconfirmed proposals if schedule_changes is not set, unless it is done by an admin or organizer

This commit is contained in:
differentreality 2013-07-28 13:03:22 +03:00
parent c91156ae0c
commit d7ae2ba29b
2 changed files with 8 additions and 5 deletions

View file

@ -48,4 +48,5 @@ class ApplicationController < ActionController::Base
Rails.logger.debug("Access denied!")
redirect_to root_path, :alert => exception.message
end
helper_method :organizer_or_admin?
end