Commit 4be14dd9 authored by Daniel Libanori's avatar Daniel Libanori
Browse files

Saving user data

parent 7df2fa23
......@@ -8,4 +8,9 @@ class UsersController < ApplicationController
def show
@user = User.find(params[:id])
def update
current_user.update_attributes params[:user]
head status: 200
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment