Class: Settings::SetContext
- Inherits:
-
Base
- Object
- Base
- Settings::SetContext
- Includes:
- Relay::Hooks::RequireUser
- Defined in:
- app/routes/settings/set_context.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
7 8 9 10 |
# File 'app/routes/settings/set_context.rb', line 7 def call set_context htmx? ? render : r.redirect("/") end |