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

Version Path
artfully_ose-1.2.0 app/controllers/charts_controller.rb
artfully_ose-1.2.0.beta.1 app/controllers/charts_controller.rb
artfully_ose-1.2.0.alpha.2 app/controllers/charts_controller.rb
artfully_ose-1.2.0.alpha.1 app/controllers/charts_controller.rb
artfully_ose-1.2.0.pre.27 app/controllers/charts_controller.rb
artfully_ose-1.2.0.pre.26 app/controllers/charts_controller.rb
artfully_ose-1.2.0.pre.24 app/controllers/charts_controller.rb
artfully_ose-1.2.0.pre.23 app/controllers/charts_controller.rb
artfully_ose-1.2.0.pre.21 app/controllers/charts_controller.rb
artfully_ose-1.2.0.pre.20 app/controllers/charts_controller.rb
artfully_ose-1.2.0.pre.19 app/controllers/charts_controller.rb
artfully_ose-1.2.0.pre.18 app/controllers/charts_controller.rb
artfully_ose-1.2.0.pre.17 app/controllers/charts_controller.rb
artfully_ose-1.2.0.pre.16 app/controllers/charts_controller.rb
artfully_ose-1.2.0.pre.15 app/controllers/charts_controller.rb
artfully_ose-1.2.0.pre.12 app/controllers/charts_controller.rb
artfully_ose-1.2.0.pre.11 app/controllers/charts_controller.rb
artfully_ose-1.2.0.pre.10 app/controllers/charts_controller.rb
artfully_ose-1.2.0.pre.9 app/controllers/charts_controller.rb
artfully_ose-1.2.0.pre.8 app/controllers/charts_controller.rb