Sha256: 688cec6c664bdaa523a7c08172550b54f3993f01622de2238b82bc4279c61977
Contents?: true
Size: 452 Bytes
Versions: 24
Compression:
Stored size: 452 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" if params[:path_to_redirect] then redirect_to params[:path_to_redirect] else render "beautiful/dashboard", :layout => "beautiful_layout", :location => root_path end end end end
Version data entries
24 entries across 24 versions & 1 rubygems