Commit 663d956

mo <mo.khan@gmail.com>
2018-09-02 20:31:55
fix lint error.
1 parent 5e008aa
Changed files (1)
app/controllers/registrations_controller.rb
@@ -11,7 +11,8 @@ class RegistrationsController < ApplicationController
     User.create!(user_params)
     redirect_to new_session_path
   rescue ActiveRecord::RecordInvalid => invalid
-    redirect_to new_registration_path, error: invalid.record.errors.full_messages
+    redirect_to new_registration_path,
+                error: invalid.record.errors.full_messages
   end
 
   private