Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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!
- |
- */
- //Front-end
- Route::get('/', 'Controller@index')->name('home');
- Route::get('noticias', 'Controller@noticias')->name('noticias');
- Route::get('noticia/{slug}', 'Controller@noticia')->name('noticia');
- Route::get('acerca-de', 'Controller@acercade')->name('acerca-de');
- //Auth (sin opción de registro)
- Auth::routes(['register' => false]);
- //Back-end
- Route::get('admin', 'HomeController@index')->name('admin');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement