Sha256: b676733ed8c4b00665adf85d301a070e47fff50598b4706bce1d83552a7936b7

Contents?: true

Size: 170 Bytes

Versions: 9

Compression:

Stored size: 170 Bytes

Contents

class DashboardController < ApplicationController
  before_filter :masquerade_user!

  def index
    @users = User.where("users.id != ?", current_user.id).all
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
devise_masquerade-0.1.3 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.1.2 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.1.1 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.1.0 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.0.9 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.0.8 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.0.7 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.0.6 spec/dummy/app/controllers/dashboard_controller.rb
devise_masquerade-0.0.5 spec/dummy/app/controllers/dashboard_controller.rb