app/controllers/clientsportal_controller.rb
def edit_client_password
      @clients_login = @current_client.clients_logins.find_by_login( session[:client_login] )
      render :layout => false
    rescue
      flash[:notice] = "No such client"
      redirect_to :action => :index
    end
#
# Showing fields for changing client's password.
#
Showing fields for changing client's password.
Showing fields for changing client ' s password .
def edit_client_password
      @clients_login = @current_client.clients_logins.find_by_login( session[:client_login] )
      render :layout => false
    rescue
      flash[:notice] = "No such client"
      redirect_to :action => :index
    end
def edit_client_password @clients_login = @current_client . clients_logins . find_by_login ( session [ :client_login ] ) render :layout => false rescue flash [ :notice ] = "No such client" redirect_to :action => :index end
Showing fields for changing client's password.
Showing fields for changing client ' s password .