Sha256: 6656cba73f3b5f2a2351a2630fa77aa3e446a4d368b12390877e0c6f4e9c60eb

Contents?: true

Size: 448 Bytes

Versions: 5

Compression:

Stored size: 448 Bytes

Contents

module OpenStax
  module Accounts
    module Dev
      class UsersController < OpenStax::Accounts::Dev::DevController
        
        def login; end

        def search
          handle_with(OpenStax::Accounts::Dev::UsersSearch,
                      complete: lambda { render 'search' })
        end

        def become
          sign_in(User.find(params[:user_id]))
          redirect_to return_url(true)
        end

      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openstax_accounts-0.3.0 app/controllers/openstax/accounts/dev/users_controller.rb
openstax_accounts-0.3 app/controllers/openstax/accounts/dev/users_controller.rb
openstax_accounts-0.2.1 app/controllers/openstax/accounts/dev/users_controller.rb
openstax_accounts-0.2.0 app/controllers/openstax/accounts/dev/users_controller.rb
openstax_accounts-0.1.0 app/controllers/openstax/accounts/dev/users_controller.rb