{"action":"created","issue":{"url":"https://api.github.com/repos/spatie/laravel-feed/issues/10","repository_url":"https://api.github.com/repos/spatie/laravel-feed","labels_url":"https://api.github.com/repos/spatie/laravel-feed/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/spatie/laravel-feed/issues/10/comments","events_url":"https://api.github.com/repos/spatie/laravel-feed/issues/10/events","html_url":"https://github.com/spatie/laravel-feed/issues/10","id":171962494,"number":10,"title":"NotFoundHttpException","user":{"login":"yamilrevilla","id":6315677,"avatar_url":"https://avatars.githubusercontent.com/u/6315677?v=3","gravatar_id":"","url":"https://api.github.com/users/yamilrevilla","html_url":"https://github.com/yamilrevilla","followers_url":"https://api.github.com/users/yamilrevilla/followers","following_url":"https://api.github.com/users/yamilrevilla/following{/other_user}","gists_url":"https://api.github.com/users/yamilrevilla/gists{/gist_id}","starred_url":"https://api.github.com/users/yamilrevilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yamilrevilla/subscriptions","organizations_url":"https://api.github.com/users/yamilrevilla/orgs","repos_url":"https://api.github.com/users/yamilrevilla/repos","events_url":"https://api.github.com/users/yamilrevilla/events{/privacy}","received_events_url":"https://api.github.com/users/yamilrevilla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-18T17:58:43Z","updated_at":"2016-08-20T18:57:44Z","closed_at":null,"body":"Hi guys, \r\nGreat packages you got. Thanks for that. \r\n\r\nI'm having a little problem with the route, Laravel throws me a NotFoundHttpException when I enter in http://domain.local/rss\r\n\r\nAditionally when I include the \"@include('laravel-feed::feed-links')\" the code generated is \r\n\r\n`<link rel=\"alternate\" type=\"application/rss+xml\" href=\"http://domain.local/%5Crss\" title=\"Test Millenium RSS\">`\r\n\r\nMy config file:\r\n\r\n```php\r\nreturn [\r\n\r\n    'feeds' => [\r\n        [\r\n            /*\r\n             * Here you can specify which class and method will return\r\n             * the items that should appear in the feed. For example:\r\n             * '\\App\\Model@getAllFeedItems'\r\n             */\r\n            'items' => 'YARR\\Properties@getAllFeedItems',\r\n\r\n            /*\r\n             * The feed will be available on this url.\r\n             */\r\n            'url' => '/rss',\r\n\r\n            'title' => 'Test Millenium RSS',\r\n        ],\r\n    ],\r\n\r\n];\r\n```\r\n\r\nIn routes.php\r\n\r\n```php\r\nRoute::get('/', ['as' => 'home', 'uses' => '\\YARR\\Http\\Controllers\\Frontend\\IndexController@index']);\r\n    Route::feeds();  \r\n    Route::get('/registrarme', ['as' => 'my.register', 'uses' => '\\YARR\\Http\\Controllers\\Backend\\AuthController@register']);\r\n    Route::post('/registrarme', ['as' => 'my.post.register', 'uses' => '\\YARR\\Http\\Controllers\\Backend\\AuthController@registerUser']);\r\n    Route::post('/suscribirse', ['as' => 'my.suscribe', 'uses' => '\\YARR\\Http\\Controllers\\Backend\\AuthController@suscribe']);\r\n    Route::get('/eliminar-suscripcion/{email}', ['as' => 'my.unsuscribe', 'uses' => '\\YARR\\Http\\Controllers\\Backend\\AuthController@unsuscribe']);\r\n\r\n. . .\r\n```\r\n\r\nAnd the model:\r\n\r\n```php\r\npublic function getFeedItemId()\r\n    {\r\n        return $this->id;\r\n    }\r\n\r\n    public function getFeedItemTitle() : string\r\n    {\r\n        return $this->title;\r\n    }\r\n\r\n    public function getFeedItemSummary() : string\r\n    {\r\n        return str_limit($this->description, 150);\r\n    }\r\n\r\n    public function getFeedItemUpdated() : Carbon\r\n    {\r\n        return $this->updated_at;\r\n    }\r\n\r\n    public function getFeedItemLink() : string\r\n    {\r\n        return route('property.view', [\r\n            str_slug($this->property_type->name),\r\n            str_slug($this->state->name),\r\n            str_slug($this->city->name),\r\n            str_slug($this->title),\r\n            $this->id\r\n        ]);\r\n    }\r\n\r\n    public function getFeedItemAuthor() : string\r\n    {\r\n        return !is_null($this->user) ? $this->user->name : 'Test Millenium';\r\n    }\r\n\r\n    public function getAllFeedItems() : Collection\r\n    {\r\n        return $this->where('status', '=', 1)->where('available', '=', 1)->get();\r\n    }\r\n```\r\n\r\nOf course I placed the Spatie\\Feed\\FeedServiceProvider::class, after the YARR\\Providers\\RouteServiceProvider::class,\r\n\r\nI'm doing something wrong?"},"comment":{"url":"https://api.github.com/repos/spatie/laravel-feed/issues/comments/241217426","html_url":"https://github.com/spatie/laravel-feed/issues/10#issuecomment-241217426","issue_url":"https://api.github.com/repos/spatie/laravel-feed/issues/10","id":241217426,"user":{"login":"freekmurze","id":483853,"avatar_url":"https://avatars.githubusercontent.com/u/483853?v=3","gravatar_id":"","url":"https://api.github.com/users/freekmurze","html_url":"https://github.com/freekmurze","followers_url":"https://api.github.com/users/freekmurze/followers","following_url":"https://api.github.com/users/freekmurze/following{/other_user}","gists_url":"https://api.github.com/users/freekmurze/gists{/gist_id}","starred_url":"https://api.github.com/users/freekmurze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freekmurze/subscriptions","organizations_url":"https://api.github.com/users/freekmurze/orgs","repos_url":"https://api.github.com/users/freekmurze/repos","events_url":"https://api.github.com/users/freekmurze/events{/privacy}","received_events_url":"https://api.github.com/users/freekmurze/received_events","type":"User","site_admin":false},"created_at":"2016-08-20T18:57:44Z","updated_at":"2016-08-20T18:57:44Z","body":"Mmm, strange... I don't see anything wrong with your code. Could you try installing the package in a fresh copy of Laravel?"}}
{"actor":{"display_login":"freekmurze"}}