mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 15:44:33 -04:00
Redirect v4 signup to v5
This commit is contained in:
parent
dcfd178c20
commit
955ab0c5db
@ -65,6 +65,15 @@ class HomeController extends BaseController
|
|||||||
*/
|
*/
|
||||||
public function invoiceNow()
|
public function invoiceNow()
|
||||||
{
|
{
|
||||||
|
$url = 'https://invoicing.co';
|
||||||
|
|
||||||
|
if (Input::has('rc')) {
|
||||||
|
$url = $url . '?rc=' . Input::get('rc');
|
||||||
|
}
|
||||||
|
|
||||||
|
return Redirect::to($url);
|
||||||
|
|
||||||
|
/*
|
||||||
// Track the referral/campaign code
|
// Track the referral/campaign code
|
||||||
if (Input::has('rc')) {
|
if (Input::has('rc')) {
|
||||||
session([SESSION_REFERRAL_CODE => Input::get('rc')]);
|
session([SESSION_REFERRAL_CODE => Input::get('rc')]);
|
||||||
@ -76,6 +85,7 @@ class HomeController extends BaseController
|
|||||||
} else {
|
} else {
|
||||||
return View::make('public.invoice_now');
|
return View::make('public.invoice_now');
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user