REFACTORING: split UserManagement controller into more classes

One class for user management would be really messy. This commit splits it into more classes.
This commit is contained in:
Michal Kváček
2016-01-24 17:30:02 +01:00
parent 9a4596581c
commit bb0083cdda
13 changed files with 94 additions and 25 deletions
+3 -1
View File
@@ -11,6 +11,8 @@ return [
'role_visitor' => 'Visitor',
'register' => 'Create user',
'registrationSuccessfull' => 'New user successfully added.',
'profile' => 'Your profile'
'profile' => 'Your profile',
'overview' => 'List of all users',
'detail' => 'User\'s detail'
];
@@ -0,0 +1,7 @@
@extends('admin.layout')
@section('pageName', @trans('admin/userManagement.detail'))
@section('content')
@stop
@@ -1 +1,7 @@
edituji uzivatele {{$id}}.
@extends('admin.layout')
@section('pageName', @trans('admin/userManagement.editUser'))
@section('content')
@stop
@@ -4,6 +4,8 @@
@section('content')
<h1>@lang('admin/userManagement.addNewUser')</h1>
@if (session('success'))
<div class="callout success">
{{ session('success') }}
@@ -0,0 +1,7 @@
@extends('admin.layout')
@section('pageName', @trans('admin/userManagement.overview'))
@section('content')
@stop