Module: InertiaRails::Controller
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/inertia_rails/controller.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#default_render ⇒ Object
117 118 119 120 121 122 123 |
# File 'lib/inertia_rails/controller.rb', line 117 def default_render if inertia_configuration.default_render render(inertia: true) else super end end |
#redirect_to(options = {}, response_options = {}) ⇒ Object
125 126 127 128 |
# File 'lib/inertia_rails/controller.rb', line 125 def redirect_to( = {}, = {}) () super end |