{"comment":{"url":"https://api.github.com/repos/c2corg/v6_ui/comments/16291582","html_url":"https://github.com/c2corg/v6_ui/commit/d65b1a2478618d9116b20b4c4c43a158abb61f04#commitcomment-16291582","id":16291582,"user":{"login":"asaunier","id":1192331,"avatar_url":"https://avatars.githubusercontent.com/u/1192331?v=3","gravatar_id":"","url":"https://api.github.com/users/asaunier","html_url":"https://github.com/asaunier","followers_url":"https://api.github.com/users/asaunier/followers","following_url":"https://api.github.com/users/asaunier/following{/other_user}","gists_url":"https://api.github.com/users/asaunier/gists{/gist_id}","starred_url":"https://api.github.com/users/asaunier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asaunier/subscriptions","organizations_url":"https://api.github.com/users/asaunier/orgs","repos_url":"https://api.github.com/users/asaunier/repos","events_url":"https://api.github.com/users/asaunier/events{/privacy}","received_events_url":"https://api.github.com/users/asaunier/received_events","type":"User","site_admin":false},"position":138,"line":211,"path":"c2corg_ui/templates/helpers/view.html","commit_id":"d65b1a2478618d9116b20b4c4c43a158abb61f04","created_at":"2016-02-24T09:44:16Z","updated_at":"2016-02-24T09:44:16Z","body":"Are you sure it doesn't work?\r\nI have replaced\r\n```\r\n% if 'hiking_rating' in route and route['hiking_rating']:\r\n```\r\nby\r\n```\r\n% if route.get('hiking_rating'):\r\n```\r\nand it works as expected.\r\nI think @tsauerwein 's solution is really simple and elegant."}}