frontend/app/controllers/publickeys_controller.rb in meroku-2.0.3 vs frontend/app/controllers/publickeys_controller.rb in meroku-2.0.4

- old
+ new

@@ -30,9 +30,10 @@ if !@publickey.user (render :jsonapi_errors => [{ title: 'Invalid Authorization Token', detail: 'Invalid token. Try logging in again.' }]) and return + end respond_to do |format| if @publickey.save format.html { redirect_to @publickey, notice: 'Publickey was successfully created.' } #format.json { render :show, status: :created, location: @publickey }