Sha256: 8d21598f54dbd748559c0b44005a8ddee313f736b99ee73afd752a29dc8c9c7a
Contents?: true
Size: 511 Bytes
Versions: 2
Compression:
Stored size: 511 Bytes
Contents
module OpenStax module Accounts module Dev class AccountsController < OpenStax::Accounts::Dev::BaseController def index end def search handle_with(AccountsSearch) end def create handle_with(AccountsCreate, complete: lambda { redirect_back }) end def become @account = Account.find(params[:id]) sign_in(@account) redirect_back end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openstax_accounts-3.1.1 | app/controllers/openstax/accounts/dev/accounts_controller.rb |
openstax_accounts-3.1.0 | app/controllers/openstax/accounts/dev/accounts_controller.rb |