hugogilmar/quadro

View on GitHub
app/controllers/quadro/users_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
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(user_params)
        sign_in user, bypass: true
      end
    end
  end
end