fix open modal mobile
This commit is contained in:
@@ -24,5 +24,7 @@ class SubmissionEventsController < ApplicationController
|
||||
|
||||
load_and_authorize_resource :submission
|
||||
|
||||
def index; end
|
||||
def index
|
||||
render :index, layout: 'plain'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -33,6 +33,8 @@ class SubmissionsController < ApplicationController
|
||||
|
||||
def new
|
||||
authorize!(:new, Submission)
|
||||
|
||||
render :new, layout: 'plain'
|
||||
end
|
||||
|
||||
def create
|
||||
|
||||
@@ -8,6 +8,8 @@ class SubmittersController < ApplicationController
|
||||
if @submitter.preferences['email_message_uuid'].present?
|
||||
@submitter.account.email_messages.find_by(uuid: @submitter.preferences['email_message_uuid'])
|
||||
end
|
||||
|
||||
render :edit, layout: 'plain'
|
||||
end
|
||||
|
||||
def update
|
||||
|
||||
@@ -25,7 +25,9 @@ class TemplatesController < ApplicationController
|
||||
redirect_to root_path
|
||||
end
|
||||
|
||||
def new; end
|
||||
def new
|
||||
render :new, layout: 'plain'
|
||||
end
|
||||
|
||||
def edit
|
||||
@template_data = Templates.serialize_for_builder(@template)
|
||||
|
||||
@@ -14,7 +14,9 @@ class TemplatesPreferencesController < ApplicationController
|
||||
completed_notification_email_body]
|
||||
}.freeze
|
||||
|
||||
def show; end
|
||||
def show
|
||||
render :show, layout: 'plain'
|
||||
end
|
||||
|
||||
def create
|
||||
authorize!(:update, @template)
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
class TemplatesShareLinkController < ApplicationController
|
||||
load_and_authorize_resource :template
|
||||
|
||||
def show; end
|
||||
def show
|
||||
render :show, layout: 'plain'
|
||||
end
|
||||
|
||||
def create
|
||||
authorize!(:update, @template)
|
||||
|
||||
Reference in New Issue
Block a user