Skip to content

Commit

Permalink
fixup! Fix Style/StringLiterals
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan-M committed Apr 28, 2018
1 parent f076e68 commit b41294b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/controllers/devise_token_auth/registrations_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@ def create
build_resource

unless @resource.present?
raise(DeviseTokenAuth::Errors::NoResourceDefinedError, <<~MSG)
#{self.class.name} #build_resource does not define @resource,
execution stopped.
MSG
raise DeviseTokenAuth::Errors::NoResourceDefinedError,
"#{self.class.name} #build_resource does not define @resource,"\
' execution stopped.'
end

# give redirect value from params priority
Expand Down

0 comments on commit b41294b

Please sign in to comment.