Sha256: 406dd0002ab61e7b61f34dbcf2d6f1407c9494d04a1236ad313aba65187cce73

Contents?: true

Size: 314 Bytes

Versions: 9

Compression:

Stored size: 314 Bytes

Contents

require_dependency 'quadro/application_controller'

module Quadro
  class UsersController < ApplicationController
    before_filter :authenticate_user!

    respond_to :js, :json, :xml

    def update
      if user.update_with_password(params[:user])
        sign_in user, bypass: true
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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