Sha256: 6fbd6b532e6db08dd92b51a1f3eadda629656f0e939c9ab0220b1b7ee3ad40a7

Contents?: true

Size: 227 Bytes

Versions: 33

Compression:

Stored size: 227 Bytes

Contents

class Admin::UsersController < Admin::BaseController
  def index
    @users = User.all
  end

  def search
    @users = User.search params[:query]
    render :index
  end

  def show
    @user = User.find params[:id]
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
saucy-0.16.1 app/controllers/admin/users_controller.rb
saucy-0.16.0 app/controllers/admin/users_controller.rb
saucy-0.15.2 app/controllers/admin/users_controller.rb
saucy-0.15.1 app/controllers/admin/users_controller.rb
saucy-0.15.0 app/controllers/admin/users_controller.rb
saucy-0.14.5 app/controllers/admin/users_controller.rb
saucy-0.14.3 app/controllers/admin/users_controller.rb
saucy-0.10.10 app/controllers/admin/users_controller.rb
saucy-0.14.2 app/controllers/admin/users_controller.rb
saucy-0.14.1 app/controllers/admin/users_controller.rb
saucy-0.14.0 app/controllers/admin/users_controller.rb
saucy-0.13.3 app/controllers/admin/users_controller.rb
saucy-0.13.2 app/controllers/admin/users_controller.rb
saucy-0.10.9 app/controllers/admin/users_controller.rb
saucy-0.10.8 app/controllers/admin/users_controller.rb
saucy-0.13.1 app/controllers/admin/users_controller.rb
saucy-0.13.0 app/controllers/admin/users_controller.rb
saucy-0.12.5 app/controllers/admin/users_controller.rb
saucy-0.12.4 app/controllers/admin/users_controller.rb
saucy-0.12.3 app/controllers/admin/users_controller.rb