- Auto-fixed 143 code style violations using rubocop -A - Fixed RuboCop configuration: moved rubocop-rspec_rails to plugins - Removed redundant || 0 patterns after .to_i calls - Fixed RSpec describe class format - Added remaining naming violations to exclude list for future cleanup - Reduced violations from 100 to 0 offenses
13 lines
267 B
Ruby
13 lines
267 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
|