Sha256: 054f2024252973860e6996a7907ab222a75ca7ba9fcabc4f84bbd69c4d544e4f

Contents?: true

Size: 259 Bytes

Versions: 33

Compression:

Stored size: 259 Bytes

Contents

class Admin::AccountsController < Admin::BaseController
  def index
    @accounts = Account.all
  end

  def search
    @accounts = Account.search params[:query]
    render :index
  end

  def show
    @account = Account.find_by_keyword params[:id]
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

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