{"action":"created","issue":{"url":"https://api.github.com/repos/zimme/meteor-iron-router-auth/issues/9","labels_url":"https://api.github.com/repos/zimme/meteor-iron-router-auth/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/zimme/meteor-iron-router-auth/issues/9/comments","events_url":"https://api.github.com/repos/zimme/meteor-iron-router-auth/issues/9/events","html_url":"https://github.com/zimme/meteor-iron-router-auth/issues/9","id":58367442,"number":9,"title":"Update to iron:router 1","user":{"login":"zimt28","id":1764689,"avatar_url":"https://avatars.githubusercontent.com/u/1764689?v=3","gravatar_id":"","url":"https://api.github.com/users/zimt28","html_url":"https://github.com/zimt28","followers_url":"https://api.github.com/users/zimt28/followers","following_url":"https://api.github.com/users/zimt28/following{/other_user}","gists_url":"https://api.github.com/users/zimt28/gists{/gist_id}","starred_url":"https://api.github.com/users/zimt28/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimt28/subscriptions","organizations_url":"https://api.github.com/users/zimt28/orgs","repos_url":"https://api.github.com/users/zimt28/repos","events_url":"https://api.github.com/users/zimt28/events{/privacy}","received_events_url":"https://api.github.com/users/zimt28/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-20T15:27:26Z","updated_at":"2015-03-29T15:53:02Z","closed_at":null,"body":"I was just able to update to iron:router 1 as https://github.com/yoolab/iron-router-i18n/ finally supports it, but my auth setup stopped working /: I just renamed `auth` to `authenticate` and thought it might work, but it doesn't. Here's my code.\r\n\r\n```coffeescript\r\n\r\n# Router Configuration #\r\n\r\nRouter.configure\r\n  layoutTemplate: 'MasterLayout'\r\n  loadingTemplate: 'Loading'\r\n  notFoundTemplate: 'NotFound'\r\n  templateNameConverter: 'upperCamelCase'\r\n  routeControllerNameConverter: 'upperCamelCase'\r\n  authenticate: 'login'\r\n  i18n:\r\n    defaultLanguage: 'de'\r\n    languages: ['de', 'en']\r\n    setLanguage: (lang) ->\r\n      TAPi18n.setLanguage(lang)  if Meteor.isClient\r\n\r\nRouter.onBeforeAction 'authenticate', except: [\r\n  'login'\r\n  'cases.print'\r\n  'barcode'\r\n]\r\n\r\nRouter.onBeforeAction 'loading', except: [\r\n  'cases.print'\r\n]\r\n```\r\n\r\nI've tried some things I found in the readme, but I find it hard to understand. Any idea how I can get it running again?\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8749363-update-to-iron-router-1?utm_campaign=plugin&utm_content=tracker%2F687123&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F687123&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/zimme/meteor-iron-router-auth/issues/comments/87431636","html_url":"https://github.com/zimme/meteor-iron-router-auth/issues/9#issuecomment-87431636","issue_url":"https://api.github.com/repos/zimme/meteor-iron-router-auth/issues/9","id":87431636,"user":{"login":"zimme","id":1215414,"avatar_url":"https://avatars.githubusercontent.com/u/1215414?v=3","gravatar_id":"","url":"https://api.github.com/users/zimme","html_url":"https://github.com/zimme","followers_url":"https://api.github.com/users/zimme/followers","following_url":"https://api.github.com/users/zimme/following{/other_user}","gists_url":"https://api.github.com/users/zimme/gists{/gist_id}","starred_url":"https://api.github.com/users/zimme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimme/subscriptions","organizations_url":"https://api.github.com/users/zimme/orgs","repos_url":"https://api.github.com/users/zimme/repos","events_url":"https://api.github.com/users/zimme/events{/privacy}","received_events_url":"https://api.github.com/users/zimme/received_events","type":"User","site_admin":false},"created_at":"2015-03-29T15:53:02Z","updated_at":"2015-03-29T15:53:02Z","body":"@zimt28: How's this going?"}}