Sha256: fd006613704900b84815dafd5083026ee913ab7314bc82d063629977e93c0e05

Contents?: true

Size: 244 Bytes

Versions: 19

Compression:

Stored size: 244 Bytes

Contents

class Admin::DashboardController < ApplicationController
  before_filter :authenticate_admin_user!
  before_filter :masquerade_admin_user!

  def index
    @users = Admin::User.where("admin_users.id != ?", current_admin_user.id).all
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
devise_masquerade-0.6.5 spec/dummy/app/controllers/admin/dashboard_controller.rb
devise_masquerade-0.6.4 spec/dummy/app/controllers/admin/dashboard_controller.rb
devise_masquerade-0.6.3 spec/dummy/app/controllers/admin/dashboard_controller.rb
devise_masquerade-0.6.2 spec/dummy/app/controllers/admin/dashboard_controller.rb
devise_masquerade-0.6.1 spec/dummy/app/controllers/admin/dashboard_controller.rb
devise_masquerade-0.6.0 spec/dummy/app/controllers/admin/dashboard_controller.rb
devise_masquerade-0.5.3 spec/dummy/app/controllers/admin/dashboard_controller.rb
devise_masquerade-0.5.2 spec/dummy/app/controllers/admin/dashboard_controller.rb
devise_masquerade-0.5.1 spec/dummy/app/controllers/admin/dashboard_controller.rb
devise_masquerade-0.5.0 spec/dummy/app/controllers/admin/dashboard_controller.rb
devise_masquerade-0.4.0 spec/dummy/app/controllers/admin/dashboard_controller.rb
devise_masquerade-0.3.1 spec/dummy/app/controllers/admin/dashboard_controller.rb
devise_masquerade-0.3.0 spec/dummy/app/controllers/admin/dashboard_controller.rb
devise_masquerade-0.2.0 spec/dummy/app/controllers/admin/dashboard_controller.rb
devise_masquerade-0.1.8 spec/dummy/app/controllers/admin/dashboard_controller.rb
devise_masquerade-0.1.7 spec/dummy/app/controllers/admin/dashboard_controller.rb
devise_masquerade-0.1.6 spec/dummy/app/controllers/admin/dashboard_controller.rb
devise_masquerade-0.1.5 spec/dummy/app/controllers/admin/dashboard_controller.rb
devise_masquerade-0.1.4 spec/dummy/app/controllers/admin/dashboard_controller.rb