Unverified Commit 94d956e6 authored by Vipul Basapati's avatar Vipul Basapati Committed by GitHub

Merge pull request #86 from bvipul/master

Run composer update to reflect new changes.
parents b2822ec2 dc27483b
...@@ -3884,16 +3884,16 @@ ...@@ -3884,16 +3884,16 @@
}, },
{ {
"name": "bvipul/generator", "name": "bvipul/generator",
"version": "0.9.2", "version": "0.9.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/bvipul/generator.git", "url": "https://github.com/bvipul/generator.git",
"reference": "70f90f6e45dc2604e8648bc663b2683e43864ada" "reference": "9aa7d1aa9c2c748fa3890ab25628ea2cd7042103"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/bvipul/generator/zipball/70f90f6e45dc2604e8648bc663b2683e43864ada", "url": "https://api.github.com/repos/bvipul/generator/zipball/9aa7d1aa9c2c748fa3890ab25628ea2cd7042103",
"reference": "70f90f6e45dc2604e8648bc663b2683e43864ada", "reference": "9aa7d1aa9c2c748fa3890ab25628ea2cd7042103",
"shasum": "" "shasum": ""
}, },
"type": "package", "type": "package",
...@@ -3913,7 +3913,7 @@ ...@@ -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.", "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", "name": "doctrine/instantiator",
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
@section('content') @section('content')
{{ Form::open(['route' => 'admin.dummy_small_plural_model.store', 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'post', 'id' => 'create-dummy_small_model']) }} {{ 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"> <div class="box-header with-border">
<h3 class="box-title">{{ trans('labels.backend.dummy_small_plural_model.create') }}</h3> <h3 class="box-title">{{ trans('labels.backend.dummy_small_plural_model.create') }}</h3>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
@section('content') @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']) }} {{ 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"> <div class="box-header with-border">
<h3 class="box-title">{{ trans('labels.backend.dummy_small_plural_model.edit') }}</h3> <h3 class="box-title">{{ trans('labels.backend.dummy_small_plural_model.edit') }}</h3>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
@endsection @endsection
@section('content') @section('content')
<div class="box box-success"> <div class="box box-info">
<div class="box-header with-border"> <div class="box-header with-border">
<h3 class="box-title">{{ trans('labels.backend.dummy_small_plural_model.management') }}</h3> <h3 class="box-title">{{ trans('labels.backend.dummy_small_plural_model.management') }}</h3>
......
...@@ -3,14 +3,16 @@ ...@@ -3,14 +3,16 @@
* DummyModuleName * DummyModuleName
* *
*/ */
@startNamespace Route::group(['namespace' => 'route_namespace', 'prefix' => 'admin', 'as' => 'admin.', 'middleware' => 'admin'], function () {
Route::group( ['namespace' => 'DummyModel'], 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'); Route::resource('dummy_name', 'DummyController');
//For Datatable //For Datatable
Route::post('dummy_name/get', 'DummyTableController')->name('dummy_name.get'); Route::post('dummy_name/get', 'DummyTableController')->name('dummy_name.get');
}); @endWithoutNamespace
@endNamespace@startWithoutNamespace });
Route::resource('dummy_name', 'DummyController'); \ No newline at end of file
//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