Class: Gold::SetupController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Gold::SetupController
- Defined in:
- app/controllers/gold/setup_controller.rb
Instance Method Summary collapse
Instance Method Details
#new ⇒ Object
3 4 5 6 7 |
# File 'app/controllers/gold/setup_controller.rb', line 3 def new tier = Tier.find(params[:tier]) [:gold_tier_id] = { value: tier.id, expires: 7.days } if tier redirect_to Gold.configuration.app_listing_url end |