Reverted Layout/EmptyLineAfterGuardClause fixes in: - 29+ controller files - Multiple service, worker, and mailbox files - Several spec files - Enterprise module files This keeps the PR focused on functional Rails 7.2 upgrade changes only.
12 lines
266 B
Ruby
12 lines
266 B
Ruby
class Api::V1::Widget::DirectUploadsController < ActiveStorage::DirectUploadsController
|
|
include WebsiteTokenHelper
|
|
before_action :set_web_widget
|
|
before_action :set_contact
|
|
|
|
def create
|
|
return if @contact.nil? || @current_account.nil?
|
|
|
|
super
|
|
end
|
|
end
|