Commit 114caa06 authored by Viral Solani's avatar Viral Solani

Merge branch 'master' of https://github.com/viralsolani/laravel-adminpanel into test-cases

parents b0c717fe df471b87
......@@ -12,6 +12,7 @@ use App\Events\Backend\Access\User\UserRestored;
use App\Events\Backend\Access\User\UserUpdated;
use App\Exceptions\GeneralException;
use App\Models\Access\User\User;
use App\Notifications\Frontend\Auth\UserNeedsConfirmation;
use App\Repositories\Backend\Access\Role\RoleRepository;
use App\Repositories\BaseRepository;
use Illuminate\Support\Facades\DB;
......
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "2bdbd3cc26be3712c0b8e3d5c01f0681",
"content-hash": "35bd90d8d234415b1df889e0e8134318",
"packages": [
{
"name": "arcanedev/log-viewer",
......@@ -1367,16 +1367,16 @@
},
{
"name": "laravel/framework",
"version": "v5.5.25",
"version": "v5.5.26",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
"reference": "0a5b6112f325c56ae5a6679c08a0a10723153fe0"
"reference": "d7e6a7aab600c5cfae595ea22074ac3c536cbc28"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/0a5b6112f325c56ae5a6679c08a0a10723153fe0",
"reference": "0a5b6112f325c56ae5a6679c08a0a10723153fe0",
"url": "https://api.github.com/repos/laravel/framework/zipball/d7e6a7aab600c5cfae595ea22074ac3c536cbc28",
"reference": "d7e6a7aab600c5cfae595ea22074ac3c536cbc28",
"shasum": ""
},
"require": {
......@@ -1497,7 +1497,7 @@
"framework",
"laravel"
],
"time": "2017-12-11T14:59:28+00:00"
"time": "2017-12-18T14:15:59+00:00"
},
{
"name": "laravel/socialite",
......@@ -1563,16 +1563,16 @@
},
{
"name": "laravel/tinker",
"version": "v1.0.2",
"version": "v1.0.3",
"source": {
"type": "git",
"url": "https://github.com/laravel/tinker.git",
"reference": "203978fd67f118902acff95925847e70b72e3daf"
"reference": "852c2abe0b0991555a403f1c0583e64de6acb4a6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/tinker/zipball/203978fd67f118902acff95925847e70b72e3daf",
"reference": "203978fd67f118902acff95925847e70b72e3daf",
"url": "https://api.github.com/repos/laravel/tinker/zipball/852c2abe0b0991555a403f1c0583e64de6acb4a6",
"reference": "852c2abe0b0991555a403f1c0583e64de6acb4a6",
"shasum": ""
},
"require": {
......@@ -1581,7 +1581,7 @@
"illuminate/support": "~5.1",
"php": ">=5.5.9",
"psy/psysh": "0.7.*|0.8.*",
"symfony/var-dumper": "~3.0"
"symfony/var-dumper": "~3.0|~4.0"
},
"require-dev": {
"phpunit/phpunit": "~4.0|~5.0"
......@@ -1622,7 +1622,7 @@
"laravel",
"psysh"
],
"time": "2017-07-13T13:11:05+00:00"
"time": "2017-12-18T16:25:11+00:00"
},
{
"name": "laravelcollective/html",
......@@ -3884,16 +3884,16 @@
},
{
"name": "bvipul/generator",
"version": "0.9.2",
"version": "0.9.3",
"source": {
"type": "git",
"url": "https://github.com/bvipul/generator.git",
"reference": "70f90f6e45dc2604e8648bc663b2683e43864ada"
"reference": "9aa7d1aa9c2c748fa3890ab25628ea2cd7042103"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/bvipul/generator/zipball/70f90f6e45dc2604e8648bc663b2683e43864ada",
"reference": "70f90f6e45dc2604e8648bc663b2683e43864ada",
"url": "https://api.github.com/repos/bvipul/generator/zipball/9aa7d1aa9c2c748fa3890ab25628ea2cd7042103",
"reference": "9aa7d1aa9c2c748fa3890ab25628ea2cd7042103",
"shasum": ""
},
"type": "package",
......@@ -3913,7 +3913,7 @@
}
],
"description": "To create a whole module with all related files like model, controller, repository, routes, views etc with a simple GUI.",
"time": "2017-12-15T18:43:36+00:00"
"time": "2017-12-16T18:48:20+00:00"
},
{
"name": "doctrine/instantiator",
......@@ -4912,16 +4912,16 @@
},
{
"name": "phpunit/phpunit",
"version": "6.5.4",
"version": "6.5.5",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "1b2f933d5775f9237369deaa2d2bfbf9d652be4c"
"reference": "83d27937a310f2984fd575686138597147bdc7df"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/1b2f933d5775f9237369deaa2d2bfbf9d652be4c",
"reference": "1b2f933d5775f9237369deaa2d2bfbf9d652be4c",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/83d27937a310f2984fd575686138597147bdc7df",
"reference": "83d27937a310f2984fd575686138597147bdc7df",
"shasum": ""
},
"require": {
......@@ -4992,7 +4992,7 @@
"testing",
"xunit"
],
"time": "2017-12-10T08:06:19+00:00"
"time": "2017-12-17T06:31:19+00:00"
},
{
"name": "phpunit/phpunit-mock-objects",
......
......@@ -12,7 +12,7 @@
@section('content')
{{ Form::open(['route' => 'admin.dummy_small_plural_model.store', 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'post', 'id' => 'create-dummy_small_model']) }}
<div class="box box-success">
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">{{ trans('labels.backend.dummy_small_plural_model.create') }}</h3>
......
......@@ -12,7 +12,7 @@
@section('content')
{{ Form::model($dummy_small_model, ['route' => ['admin.dummy_small_plural_model.update', $dummy_small_model], 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'PATCH', 'id' => 'edit-dummy_small_model']) }}
<div class="box box-success">
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">{{ trans('labels.backend.dummy_small_plural_model.edit') }}</h3>
......
......@@ -7,7 +7,7 @@
@endsection
@section('content')
<div class="box box-success">
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">{{ trans('labels.backend.dummy_small_plural_model.management') }}</h3>
......
......@@ -3,14 +3,16 @@
* DummyModuleName
*
*/
@startNamespace
Route::group( ['namespace' => 'DummyModel'], function () {
Route::group(['namespace' => 'route_namespace', 'prefix' => 'admin', 'as' => 'admin.', 'middleware' => 'admin'], function () {
@startNamespace
Route::group( ['namespace' => 'DummyModel'], function () {
Route::resource('dummy_name', 'DummyController');
//For Datatable
Route::post('dummy_name/get', 'DummyTableController')->name('dummy_name.get');
});
@endNamespace@startWithoutNamespace
Route::resource('dummy_name', 'DummyController');
//For Datatable
Route::post('dummy_name/get', 'DummyTableController')->name('dummy_name.get');
@endWithoutNamespace
});
\ No newline at end of file
@endNamespace@startWithoutNamespace
Route::resource('dummy_name', 'DummyController');
//For Datatable
Route::post('dummy_name/get', 'DummyTableController')->name('dummy_name.get');
@endWithoutNamespace
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment