lib/invitation/configuration.rb in invitation-0.0.1 vs lib/invitation/configuration.rb in invitation-0.0.2

- old
+ new

@@ -27,19 +27,10 @@ # # @return [String] attr_accessor :mailer_sender - # Path that Invitation will redirect users to after an invitation is issued. - # - # Defaults to '/' - # - # Override the invites_controller method if a more complex url is required. - # @return [String] - attr_accessor :url_after_invite - - # Enable or disable Invitation's built-in routes. # # Defaults to 'true'. # # If you disable the routes, your application is responsible for all routes. @@ -53,10 +44,9 @@ def initialize @user_model = ::User @user_registration_url = ->(params) { Rails.application.routes.url_helpers.sign_up_url(params) } @mailer_sender = 'reply@example.com' - @url_after_invite = '/' @routes = true end def user_model_class_name @user_model.name.to_s