{"action":"opened","issue":{"url":"https://api.github.com/repos/themosis/framework/issues/297","repository_url":"https://api.github.com/repos/themosis/framework","labels_url":"https://api.github.com/repos/themosis/framework/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/themosis/framework/issues/297/comments","events_url":"https://api.github.com/repos/themosis/framework/issues/297/events","html_url":"https://github.com/themosis/framework/issues/297","id":142915937,"number":297,"title":"Problem with create routes for custom page","user":{"login":"haupv","id":18027315,"avatar_url":"https://avatars.githubusercontent.com/u/18027315?v=3","gravatar_id":"","url":"https://api.github.com/users/haupv","html_url":"https://github.com/haupv","followers_url":"https://api.github.com/users/haupv/followers","following_url":"https://api.github.com/users/haupv/following{/other_user}","gists_url":"https://api.github.com/users/haupv/gists{/gist_id}","starred_url":"https://api.github.com/users/haupv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haupv/subscriptions","organizations_url":"https://api.github.com/users/haupv/orgs","repos_url":"https://api.github.com/users/haupv/repos","events_url":"https://api.github.com/users/haupv/events{/privacy}","received_events_url":"https://api.github.com/users/haupv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-23T10:04:12Z","updated_at":"2016-03-23T10:04:12Z","closed_at":null,"body":"Hi there,\r\nI got a problems with create a custom slug to call a custom page.\r\nFor ex: i have two pages in views folder: ** product.php ** and  **shop.php**\r\n\r\nwhen user type: http://localhost/**product**  => will call a product.php page\r\nwhen user type: http://localhost/**shop**  => will call a shop.php page\r\n\r\nI have made routes like this:\r\n\r\n\tadd_filter('themosisRouteConditions', function($conds)\r\n\t{\r\n\t\t\r\n\t\t$conds['product'] = 'is_product';\r\n\t\t$conds['shop'] = 'is_shop';\r\n\t\treturn $conds;\r\n\t});\r\n\r\n\tRoute::get('product', function(){\r\n\t\treturn View::make('product');\r\n\t});\r\n\r\n\tRoute::get('shop', function(){\r\n\t\treturn View::make('shop');\r\n\t});\r\n\r\nbut when call http://localhost/**product** or http://localhost/**shop** \r\nit only return a product page. I can't access to shop page\r\n\r\ndid i get a mistake ?!\r\nthanks so much !"}}