Skip to content
Extraits de code Groupes Projets
users_controller.rb 251 octets
Newer Older
class UsersController < ApplicationController

  before_filter :authenticate_user!
maxwell's avatar
maxwell a validé
    @users = User.sort(:created_at.desc).all
  def show
    @user= Person.where(:id => params[:id]).first
    @user_profile = @user.profile
  end