Sha256: f8c3f4f0b0dff5b702ec7dc19cccabcc10039f65cc336e4837641a3641a9c616

Contents?: true

Size: 410 Bytes

Versions: 12

Compression:

Stored size: 410 Bytes

Contents

class RegistrationsController < Devise::RegistrationsController
  include Curate::ThemedLayoutController
  with_themed_layout '1_column'

  protected

  def after_update_path_for(resource)
    resource.update_column(:user_does_not_require_profile_update, true)
    super
  end

  def resource_class
    Account
  end

  def sign_up(resource_name, resource)
    sign_in(resource_name, resource.user)
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
curate-0.6.5 app/controllers/registrations_controller.rb
curate-0.6.4 app/controllers/registrations_controller.rb
curate-0.6.3 app/controllers/registrations_controller.rb
curate-0.6.1 app/controllers/registrations_controller.rb
curate-0.6.0 app/controllers/registrations_controller.rb
curate-0.5.6 app/controllers/registrations_controller.rb
curate-0.5.5 app/controllers/registrations_controller.rb
curate-0.5.4 app/controllers/registrations_controller.rb
curate-0.5.2 app/controllers/registrations_controller.rb
curate-0.5.1 app/controllers/registrations_controller.rb
curate-0.5.0 app/controllers/registrations_controller.rb
curate-0.4.2 app/controllers/registrations_controller.rb