Skip to content

Instantly share code, notes, and snippets.

@tommymarshall
Created January 9, 2015 23:11
Show Gist options
  • Save tommymarshall/ee41e5c49c39420a7957 to your computer and use it in GitHub Desktop.
Save tommymarshall/ee41e5c49c39420a7957 to your computer and use it in GitHub Desktop.
Themosis Routes
<?php
// Home
Route::get('home', 'PagesController@home');
// @about method always fires when viewing a page, no matter the page
Route::any('page' , [['about'], 'uses' => 'PagesController@about']);
Route::any('page' , [['vision'], 'uses' => 'PagesController@vision']);
Route::any('archive' , ['blog', 'uses' => 'BlogController@index']);
@tommymarshall
Copy link
Author

Great! ran composer update and that did the trick. Thanks a bunch! The POST requests still sadly do not work. Here's the code: https://gist.github.com/tommymarshall/e90112157a8d76c6d4f1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment