Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
crmforms-onestartup
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Angel Martin
crmforms-onestartup
Commits
179388ef
Commit
179388ef
authored
Aug 29, 2018
by
Francisco Salazar
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://bunkrbit.com/bsabbath/crmforms-onestartup
parents
c1a8ccb6
fd8986ca
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
8 deletions
+28
-8
CrmFormsServiceProvider.php
src/CrmFormsServiceProvider.php
+2
-2
CrmFormsController.php
src/controllers/CrmFormsController.php
+4
-1
default.blade.php
src/views/public/redirect/default.blade.php
+19
-2
autoload_psr4.php
vendor/composer/autoload_psr4.php
+1
-1
autoload_static.php
vendor/composer/autoload_static.php
+2
-2
No files found.
src/CrmFormsServiceProvider.php
View file @
179388ef
...
...
@@ -37,9 +37,9 @@ class CrmFormsServiceProvider extends ServiceProvider
]);
/*
$this->publishes([
$this
->
publishes
([
__DIR__
.
'/config/crmforms.php'
=>
config_path
(
'crmforms.php'
),
], 'config');
*/
],
'config'
);
...
...
src/controllers/CrmFormsController.php
View file @
179388ef
...
...
@@ -111,7 +111,10 @@ class CrmFormsController extends Controller
return
redirect
()
->
route
(
'crmforms.redirect'
,
$request
->
landing
);
return
redirect
()
->
route
(
'crmforms.redirect'
,
$request
->
landing
)
->
with
(
'registrado'
,
'registrado'
)
->
with
(
'message_success'
,
'Hemos recibido tu solicitud, en breve nos comunicaremos contigo'
);
}
public
function
redirect
(
$landing
)
...
...
src/views/public/redirect/default.blade.php
View file @
179388ef
@
extends
(
'layouts.page-layout'
)
@
section
(
'pageTitle'
,
'Agradecimientos'
)
@
section
(
'content'
)
<
h1
>
Pagina
de
redireccion
por
defecto
</
h1
>
<
div
class
="
jumbotron
text
-
xs
-
center
">
<div class="
col
-
md
-
8
offset
-
2
">
<h1 class="
display
-
3
">¡Gracias por tu registro!</h1>
<p class="
lead
"><strong>Hemos recibido tu solicitud, </strong>en breve nos comunicaremos contigo</p>
<hr>
<p class="
lead
">
<a class="
btn
btn
-
primary
btn
-
sm
" href="
{{
url
(
'/'
)}}
" role="
button
">Visita nuestra página</a>
</p>
</div>
</div>
@endsection
@section('scripts_extra')
@if(Session::has('registrado'))
<script type="
text
/
javascript
">
swal("
Registro
exitoso
", "
Gracias
por
tu
registro
,
en
breve
nos
comunicaremos
contigo
", "
success
");
</script>
@endif
@endsection
vendor/composer/autoload_psr4.php
View file @
179388ef
...
...
@@ -6,5 +6,5 @@ $vendorDir = dirname(dirname(__FILE__));
$baseDir
=
dirname
(
$vendorDir
);
return
array
(
'Onestartup\\
Product
\\'
=>
array
(
$baseDir
.
'/src'
),
'Onestartup\\
CrmForms
\\'
=>
array
(
$baseDir
.
'/src'
),
);
vendor/composer/autoload_static.php
View file @
179388ef
...
...
@@ -9,12 +9,12 @@ class ComposerStaticInit7173633b0cb420d97a2e8a09a0590ba0
public
static
$prefixLengthsPsr4
=
array
(
'O'
=>
array
(
'Onestartup\\
Product\\'
=>
19
,
'Onestartup\\
CrmForms\\'
=>
20
,
),
);
public
static
$prefixDirsPsr4
=
array
(
'Onestartup\\
Product
\\'
=>
'Onestartup\\
CrmForms
\\'
=>
array
(
0
=>
__DIR__
.
'/../..'
.
'/src'
,
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment