{"action":"created","issue":{"url":"https://api.github.com/repos/rendrjs/rendr/issues/274","labels_url":"https://api.github.com/repos/rendrjs/rendr/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/rendrjs/rendr/issues/274/comments","events_url":"https://api.github.com/repos/rendrjs/rendr/issues/274/events","html_url":"https://github.com/rendrjs/rendr/issues/274","id":26184494,"number":274,"title":"Middleware for rendr routes","user":{"login":"mikepuerto","id":104170,"avatar_url":"https://avatars.githubusercontent.com/u/104170?v=3","gravatar_id":"","url":"https://api.github.com/users/mikepuerto","html_url":"https://github.com/mikepuerto","followers_url":"https://api.github.com/users/mikepuerto/followers","following_url":"https://api.github.com/users/mikepuerto/following{/other_user}","gists_url":"https://api.github.com/users/mikepuerto/gists{/gist_id}","starred_url":"https://api.github.com/users/mikepuerto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikepuerto/subscriptions","organizations_url":"https://api.github.com/users/mikepuerto/orgs","repos_url":"https://api.github.com/users/mikepuerto/repos","events_url":"https://api.github.com/users/mikepuerto/events{/privacy}","received_events_url":"https://api.github.com/users/mikepuerto/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rendrjs/rendr/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-01-23T17:46:46Z","updated_at":"2015-05-26T13:56:59Z","closed_at":null,"body":"Out of the box, is there a way to add middleware to the routes similarly to the way express uses them? We need to add something like, \"isAuthenticated\". \r\n\r\nIf not, can someone point me in a direction to get started implementing this?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/rendrjs/rendr/issues/comments/105533881","html_url":"https://github.com/rendrjs/rendr/issues/274#issuecomment-105533881","issue_url":"https://api.github.com/repos/rendrjs/rendr/issues/274","id":105533881,"user":{"login":"crwang","id":1487444,"avatar_url":"https://avatars.githubusercontent.com/u/1487444?v=3","gravatar_id":"","url":"https://api.github.com/users/crwang","html_url":"https://github.com/crwang","followers_url":"https://api.github.com/users/crwang/followers","following_url":"https://api.github.com/users/crwang/following{/other_user}","gists_url":"https://api.github.com/users/crwang/gists{/gist_id}","starred_url":"https://api.github.com/users/crwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crwang/subscriptions","organizations_url":"https://api.github.com/users/crwang/orgs","repos_url":"https://api.github.com/users/crwang/repos","events_url":"https://api.github.com/users/crwang/events{/privacy}","received_events_url":"https://api.github.com/users/crwang/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T13:56:59Z","updated_at":"2015-05-26T13:56:59Z","body":"@pjanuario Awesome, we will probably just submit a PR to the examples repo when we are done with a simple example, but I'm pretty sure we don't need to modify rendr itself for this.  Will keep you posted as we get a working solution going and put together an example.  We should be doing it this week I would assume, or latest by end of next week."}}