Sha256: 8a83316f6b2b42b7f6b6182fa7b2eec630f7685dec6f225cc58210fa795cd08d
Contents?: true
Size: 757 Bytes
Versions: 3
Compression:
Stored size: 757 Bytes
Contents
# frozen_string_literal: true class <%= scope.camelize %>Controller < BeyondCanvas::AuthenticationsController # before_action :configure_params, only: [:create] # def new # super # end # def create # super # end # private # If you have extra params to permit, append them to the sanitizer. # def configure_params # beyond_canvas_parameter_sanitizer.permit(:attribute1, :attribute2) # end # The path used after creating the shop in the database # def after_create_path # resource.return_url # end # def handle_active_record_exception(exception) # super # end # def handle_beyond_api_exception(exception) # super # end # def handle_standard_error_exception(exception) # super # end end
Version data entries
3 entries across 3 versions & 1 rubygems