<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the Closure to execute when that URI is requested.
|
*/

Route::get('/users', 'UserController@index');
Route::get('/users/{id}', 'UserController@show');
Route::get('/users/{id}/checkins', 'UserController@checkins');

Route::get('/places', 'PlaceController@index');
Route::get('/places/{id}', 'PlaceController@show');
Route::get('/places/{id}/checkins', 'PlaceController@getCheckins');
Route::get('/places/{id}/image', 'PlaceController@uploadImage');

<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the Closure to execute when that URI is requested.
|
*/

Route::get('/users', 'UserController@index');
Route::get('/users/{id}', 'UserController@show');
Route::get('/users/{id}/checkins', 'UserController@getCheckins');

Route::get('/places', 'PlaceController@index');
Route::get('/places/{id}', 'PlaceController@show');
Route::get('/places/{id}/checkins', 'PlaceController@getCheckins');
Route::get('/places/{id}/image', 'PlaceController@uploadImage');

Update route file to use a method that exists
Update route file to use a method that exists
