app/controllers/venues_controller.rb in artfully_ose-1.0.0.rc4 vs app/controllers/venues_controller.rb in artfully_ose-1.1.0.rc1
- old
+ new
@@ -8,8 +8,12 @@
def update
@event = Event.find(params[:event_id])
authorize! :edit, @event
@venue = @event.venue
@venue.update_attributes(params[:venue])
- redirect_to event_url(@event)
+ if params[:commit].try(:downcase) =~ /next/
+ redirect_to prices_event_path(@event)
+ else
+ redirect_to event_url(@event)
+ end
end
-end
\ No newline at end of file
+end