# File app/controllers/proposals_controller.rb, line 236 def ck_ownership unless @user.proposals.include?(@proposal) flash[:error] << _('You are not allowed to modify this proposal') redirect_to :action => 'show', :id => @proposal return false end end