rubocop: fix various style issues.

This commit is contained in:
evazion
2019-12-22 16:21:58 -06:00
parent 09f6a84660
commit 309821bf73
288 changed files with 912 additions and 962 deletions

View File

@@ -1,7 +1,7 @@
module Maintenance
module User
class EmailNotificationsController < ApplicationController
class VerificationError < Exception ; end
class VerificationError < Exception; end
before_action :validate_sig, :only => [:destroy]
rescue_from VerificationError, :with => :render_403
@@ -15,7 +15,7 @@ module Maintenance
@user.save
end
private
private
def render_403
render plain: "", :status => 403