Class: Kiqr::Accounts::Settings::ProfilesController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/kiqr/accounts/settings/profiles_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



7
8
# File 'app/controllers/kiqr/accounts/settings/profiles_controller.rb', line 7

def show
end

#updateObject



10
11
12
13
14
15
16
17
# File 'app/controllers/kiqr/accounts/settings/profiles_controller.rb', line 10

def update
  if @account.update()
    kiqr_flash_message(:success, :account_profile_updated)
    redirect_to 
  else
    render :show, status: :unprocessable_content
  end
end