Sha256: 181aba9d4f72ea725b7df287b9f297f48d0a522aa630afcf216f9e342258a921

Contents?: true

Size: 152 Bytes

Versions: 5

Compression:

Stored size: 152 Bytes

Contents

class HomeController < ApplicationController
  def index
  end

  def invite
    @email = params[:email]
    AdminUser.invite!(email: @email)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
admin_invitable-1.0.0 spec/dummy/app/controllers/home_controller.rb
admin_invitable-0.1.0 spec/dummy/app/controllers/home_controller.rb
admin_invitable-0.0.3 spec/dummy/app/controllers/home_controller.rb
admin_invitable-0.0.2 spec/dummy/app/controllers/home_controller.rb
admin_invitable-0.0.1 spec/dummy/app/controllers/home_controller.rb