Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Route::when('profile/*', 'christmas');
- Route::get('/profile', function(){
- return "This is my profile";
- }
- );
- /: Filter
- Route::filter('christmas',function(){
- //if(date('d/m/y') == '12/12/84'){
- if(false){
- return View::make('christmas');
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement