Sha256: bb047d0196416e72dfbb85f8fb6431622045391b52778cd69d53806cd1b9ba9a
Contents?: true
Size: 400 Bytes
Versions: 28
Compression:
Stored size: 400 Bytes
Contents
class ChartsController < ApplicationController def update @chart = Chart.find(params[:id]) authorize! :edit, @chart @chart.update_attributes_from_params(Chart.polish_params(params[:chart])) flash[:notice] = "Prices saved!" if user_requesting_next_step? redirect_to image_event_path(@chart.event) else redirect_to prices_event_url(@chart.event) end end end
Version data entries
28 entries across 28 versions & 1 rubygems