issue #1 reset form resets selected icon to empty
This commit is contained in:
18
routes/api.php
Normal file
18
routes/api.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| API Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here is where you can register API routes for your application. These
|
||||
| routes are loaded by the RouteServiceProvider within a group which
|
||||
| is assigned the "api" middleware group. Enjoy building your API!
|
||||
|
|
||||
*/
|
||||
|
||||
Route::middleware('auth:api')->get('/user', function (Request $request) {
|
||||
return $request->user();
|
||||
});
|
||||
16
routes/channels.php
Normal file
16
routes/channels.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Broadcast Channels
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may register all of the event broadcasting channels that your
|
||||
| application supports. The given channel authorization callbacks are
|
||||
| used to check if an authenticated user can listen to the channel.
|
||||
|
|
||||
*/
|
||||
|
||||
Broadcast::channel('App.User.{id}', function ($user, $id) {
|
||||
return (int) $user->id === (int) $id;
|
||||
});
|
||||
18
routes/console.php
Normal file
18
routes/console.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Foundation\Inspiring;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Console Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This file is where you may define all of your Closure based console
|
||||
| commands. Each Closure is bound to a command instance allowing a
|
||||
| simple approach to interacting with each command's IO methods.
|
||||
|
|
||||
*/
|
||||
|
||||
Artisan::command('inspire', function () {
|
||||
$this->comment(Inspiring::quote());
|
||||
})->describe('Display an inspiring quote');
|
||||
51
routes/web.php
Normal file
51
routes/web.php
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Web Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here is where you can register web routes for your application. These
|
||||
| routes are loaded by the RouteServiceProvider within a group which
|
||||
| contains the "web" middleware group. Now create something great!
|
||||
|
|
||||
*/
|
||||
|
||||
Route::get('/', 'Main@listView')->name('list');
|
||||
//Route::post('/', 'Main@listView');
|
||||
Route::get('/edit/{id}/{slug}', 'Main@edit')->name('edit');
|
||||
Route::post('/print/{id}/', 'Main@printText')->name('print');
|
||||
Route::post('/edit/{id}/{slug}', 'Main@edit');
|
||||
|
||||
|
||||
Route::post('/printImage', 'Main@imagePrint');
|
||||
|
||||
Route::post('/', 'Main@main');
|
||||
|
||||
|
||||
Route::get('/airly', 'Main@airly');
|
||||
|
||||
|
||||
|
||||
Route::get('/multikino/today', 'Repertoire@today_multikino');
|
||||
Route::get('/multikino/tomorrow', 'Repertoire@tomorrow_multikino');
|
||||
|
||||
|
||||
Route::get('/gdynskiecentrumfilmowe/today', 'Repertoire@today_gdynskiecentrumfilmowe');
|
||||
Route::get('/gdynskiecentrumfilmowe/tomorrow', 'Repertoire@tomorrow_gdynskiecentrumfilmowe');
|
||||
|
||||
|
||||
Route::get('/cinemacity/today', 'Repertoire@today_cinemacity');
|
||||
Route::get('/cinemacity/tomorrow', 'Repertoire@tomorrow_cinemacity');
|
||||
|
||||
Route::get('/helios/today', 'Repertoire@today_helios');
|
||||
Route::get('/helios/tomorrow', 'Repertoire@tomorrow_helios');
|
||||
|
||||
Route::get('/repertoire/today', 'Repertoire@today_repertoire');
|
||||
Route::get('/repertoire/tomorrow', 'Repertoire@tomorrow_repertoire');
|
||||
|
||||
|
||||
Route::get('/packtpub/today', 'PacktPub@today');
|
||||
Route::get('/keyboard/{key}', 'Keyboard@press');
|
||||
|
||||
Route::get('/closedshops/tomorrow', 'ClosedShops@tomorrow');
|
||||
Reference in New Issue
Block a user