Sha256: 7b93ece2501a41e457b67b952aa84bbc8f138f48e4bf816edf16b5cf82936b85

Contents?: true

Size: 206 Bytes

Versions: 19

Compression:

Stored size: 206 Bytes

Contents

class DashboardController < ApplicationController
  before_filter :authenticate_user!
  before_filter :masquerade_user!

  def index
    @users = User.where("users.id != ?", current_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/dashboard_controller.rb
devise_masquerade-0.6.4 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.6.3 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.6.2 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.6.1 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.6.0 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.5.3 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.5.2 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.5.1 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.5.0 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.4.0 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.3.1 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.3.0 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.2.0 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.1.8 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.1.7 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.1.6 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.1.5 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.1.4 spec/dummy/app/controllers/dashboard_controller.rb