Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ef0706455d
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 16 lines (14 sloc) 0.349 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
class Web::Account::UsersController < Web::Account::ApplicationController
  def edit
    title 'Edit profile'
  end

  def update
    if current_user.update_attributes(params[:user])
      flash[:notice] = 'User was successfully updated.'
      redirect_to :action => :edit
    else
      send :edit
      render :action => "edit"
    end
  end
end
Something went wrong with that request. Please try again.