Class: Settings::SetProvider
- Inherits:
-
Base
- Object
- Base
- Settings::SetProvider
- Includes:
- Relay::Hooks::RequireUser
- Defined in:
- app/routes/settings/set_provider.rb
Instance Method Summary collapse
-
#call ⇒ String
Changes the active provider.
Instance Method Details
#call ⇒ String
Changes the active provider
11 12 13 14 15 |
# File 'app/routes/settings/set_provider.rb', line 11 def call set_provider set_model htmx? ? render : r.redirect("/") end |