Closed adrienpoly closed 2 weeks ago
add remote modal for sign in
to open a page in a remote modal update the turbo frame target
<%= link_to sign_in_path(redirect_to: request.fullpath), data: {turbo_frame: "modal"} do %>
add the concern to the controller
class SessionsController < ApplicationController include RemoteModal allowed_remote_modal_actions :new ... end
add remote modal for sign in
to open a page in a remote modal update the turbo frame target
add the concern to the controller