Sha256: 6e258141cfe07a2e0dfe0750cf76ecb90bc7003f63252b49301888d6cd2d0b01

Contents?: true

Size: 343 Bytes

Versions: 5

Compression:

Stored size: 343 Bytes

Contents

# encoding : utf-8
class RegistrationsController < Devise::RegistrationsController
  def create
    super
    if resource.id.nil? then
      self.instance_variable_set(:@_response_body, nil)
      @opened_modal = "#modal-register-form"
      render "beautiful/dashboard", :layout => "beautiful_layout", :location => root_path
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
beautiful_scaffold-0.2.4 lib/generators/templates/app/controllers/registrations_controller.rb
beautiful_scaffold-0.2.3 lib/generators/templates/app/controllers/registrations_controller.rb
beautiful_scaffold-0.2.2 lib/generators/templates/app/controllers/registrations_controller.rb
beautiful_scaffold-0.2.1 lib/generators/templates/app/controllers/registrations_controller.rb
beautiful_scaffold-0.2.0 lib/generators/templates/app/controllers/registrations_controller.rb