app/controllers/access/login_controller.rb
# Sign up page load get request (to fetch dynamic data in signup page. for ex. invite related data)
#
# * Author: Puneet
# * Date: 08/12/2018
# * Reviewed By: Sunil
#
Sign up page load get request (to fetch dynamic data in signup page. for ex. invite related data)
Author: Puneet
Date: 08/12/2018
Reviewed By: Sunil
Sign up page load get request ( to fetch dynamic data in signup page . for ex . invite related data ) Author : Puneet Date : 08 / 12 / 2018 Reviewed By : Sunil
def sign_up_get
    ManagerManagement::Logout.new(params).perform
    delete_cookie(GlobalConstant::Cookie.user_cookie_name)
    if params[:i_t].present?
      service_response = ManagerManagement::SignUp::GetDetails.new(params).perform
    else
      service_response = Result::Base.success({})
    end
    return render_api_response(service_response)
  end
def sign_up_get ManagerManagement :: Logout . new ( params ) . perform delete_cookie ( GlobalConstant :: Cookie . user_cookie_name ) if params [ :i_t ] . present? service_response = ManagerManagement :: SignUp :: GetDetails . new ( params ) . perform else service_response = Result :: Base . success ( { } ) end return render_api_response ( service_response ) end
Sign up page load get request (to fetch dynamic data in signup page.
Sign up page load get request ( to fetch dynamic data in signup page .
# delete cookie irrespective if service response was success