Sha256: 1d2bf25161fffd902cff3224a43e82a6c7b279216dc922d0240f0e6d504bccb1

Contents?: true

Size: 353 Bytes

Versions: 2

Compression:

Stored size: 353 Bytes

Contents

class Admin::ProfilesController < Admin::BaseController
  helper Admin::UsersHelper
  
  def index
    @user = current_user
    @profiles = Profile.find(:all, :order => 'id')
    @user.attributes = params[:user]
    if request.post? and @user.save
      current_user = @user
      flash[:notice] = _('User was successfully updated.')
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typo-5.5 app/controllers/admin/profiles_controller.rb
typo-5.4.4 app/controllers/admin/profiles_controller.rb