Do not use variables in void context

This commit is contained in:
Artem Chernikov 2014-07-21 14:45:17 +02:00
parent 31212b4f1c
commit 3901973fd6
2 changed files with 1 additions and 3 deletions

View file

@ -182,7 +182,6 @@ class ProposalController < ApplicationController
end
def restart
@event
if @event.transition_possible? :restart
begin
@event.restart