Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
Platform
Commits
3f97fadf
Commit
3f97fadf
authored
Sep 24, 2014
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moving the users views inside a user directory.
parent
a87b5830
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
4 deletions
+3
-4
UserController.php
Http/Controllers/Admin/UserController.php
+3
-4
create.blade.php
Resources/views/admin/users/create.blade.php
+0
-0
edit.blade.php
Resources/views/admin/users/edit.blade.php
+0
-0
index.blade.php
Resources/views/admin/users/index.blade.php
+0
-0
No files found.
Http/Controllers/Admin/UserController.php
View file @
3f97fadf
...
...
@@ -2,7 +2,6 @@
use
Cartalyst\Sentinel\Laravel\Facades\Activation
;
use
Cartalyst\Sentinel\Laravel\Facades\Sentinel
;
use
Illuminate\Support\Facades\Input
;
use
Illuminate\Support\Facades\Redirect
;
use
Illuminate\Support\Facades\View
;
use
Laracasts\Flash\Flash
;
...
...
@@ -33,7 +32,7 @@ class UserController extends AdminBaseController
{
$users
=
$this
->
users
->
createModel
()
->
all
();
return
View
::
make
(
'user::admin.index'
,
compact
(
'users'
));
return
View
::
make
(
'user::admin.
users.
index'
,
compact
(
'users'
));
}
/**
...
...
@@ -43,7 +42,7 @@ class UserController extends AdminBaseController
*/
public
function
create
()
{
return
View
::
make
(
'user::admin.create'
);
return
View
::
make
(
'user::admin.
users.
create'
);
}
/**
...
...
@@ -88,7 +87,7 @@ class UserController extends AdminBaseController
return
Redirect
::
route
(
'dashboard.user.index'
);
}
return
View
::
make
(
'user::admin.edit'
,
compact
(
'user'
));
return
View
::
make
(
'user::admin.
users.
edit'
,
compact
(
'user'
));
}
/**
...
...
Resources/views/admin/create.blade.php
→
Resources/views/admin/
users/
create.blade.php
View file @
3f97fadf
File moved
Resources/views/admin/edit.blade.php
→
Resources/views/admin/
users/
edit.blade.php
View file @
3f97fadf
File moved
Resources/views/admin/index.blade.php
→
Resources/views/admin/
users/
index.blade.php
View file @
3f97fadf
File moved
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