FEATURE: add page ordering

This commit is contained in:
Michal Kváček
2017-09-13 14:02:07 +02:00
parent d90ca08ba6
commit 3fdae2669b
13 changed files with 293 additions and 215 deletions
+3
View File
@@ -50,4 +50,7 @@ Route::group(['namespace' => 'Contents'], function () {
Route::get('history/diff/{revision}', 'History@getDiff')
->name('history.diff')
->middleware('can:viewHistory,'.\App\Models\Content\Content::class);
Route::get('content/order', 'EditContent@order')->name('content.order');
Route::post('content/order', 'EditContent@setOrder')->name('content.setOrder');
});