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