Sha256: a1f03caa0ebce7e9bde08ff4e512a55dd3853157e0c93d74a62a03f55652600e

Contents?: true

Size: 295 Bytes

Versions: 7

Compression:

Stored size: 295 Bytes

Contents

require_dependency 'quadro/application_controller'

module Quadro
  class WidgetsController < ApplicationController
    before_filter :authenticate_user!

    respond_to :js, :json, :xml

    def update
      widget.update_attributes(params[:widget])
      respond_with widget
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
quadro-0.5.6 app/controllers/quadro/widgets_controller.rb
quadro-0.5.5 app/controllers/quadro/widgets_controller.rb
quadro-0.5.4 app/controllers/quadro/widgets_controller.rb
quadro-0.5.3 app/controllers/quadro/widgets_controller.rb
quadro-0.5.2 app/controllers/quadro/widgets_controller.rb
quadro-0.5.1 app/controllers/quadro/widgets_controller.rb
quadro-0.5.0 app/controllers/quadro/widgets_controller.rb