{"action":"created","issue":{"url":"https://api.github.com/repos/OrchardCMS/Brochard/issues/36","labels_url":"https://api.github.com/repos/OrchardCMS/Brochard/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/OrchardCMS/Brochard/issues/36/comments","events_url":"https://api.github.com/repos/OrchardCMS/Brochard/issues/36/events","html_url":"https://github.com/OrchardCMS/Brochard/issues/36","id":102676822,"number":36,"title":"Question about Area","user":{"login":"gvx111","id":7510448,"avatar_url":"https://avatars.githubusercontent.com/u/7510448?v=3","gravatar_id":"","url":"https://api.github.com/users/gvx111","html_url":"https://github.com/gvx111","followers_url":"https://api.github.com/users/gvx111/followers","following_url":"https://api.github.com/users/gvx111/following{/other_user}","gists_url":"https://api.github.com/users/gvx111/gists{/gist_id}","starred_url":"https://api.github.com/users/gvx111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvx111/subscriptions","organizations_url":"https://api.github.com/users/gvx111/orgs","repos_url":"https://api.github.com/users/gvx111/repos","events_url":"https://api.github.com/users/gvx111/events{/privacy}","received_events_url":"https://api.github.com/users/gvx111/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-24T00:27:46Z","updated_at":"2015-08-24T15:16:39Z","closed_at":null,"body":"I Create new module and i want to route all controller like {area}/{controller}/{action} where {area} default is admin. but when i make this route for this module doesnt working. I tried to add controller attribute area and also Route but result was blank page.\r\nHow can i make custom route for module."},"comment":{"url":"https://api.github.com/repos/OrchardCMS/Brochard/issues/comments/134244539","html_url":"https://github.com/OrchardCMS/Brochard/issues/36#issuecomment-134244539","issue_url":"https://api.github.com/repos/OrchardCMS/Brochard/issues/36","id":134244539,"user":{"login":"gvx111","id":7510448,"avatar_url":"https://avatars.githubusercontent.com/u/7510448?v=3","gravatar_id":"","url":"https://api.github.com/users/gvx111","html_url":"https://github.com/gvx111","followers_url":"https://api.github.com/users/gvx111/followers","following_url":"https://api.github.com/users/gvx111/following{/other_user}","gists_url":"https://api.github.com/users/gvx111/gists{/gist_id}","starred_url":"https://api.github.com/users/gvx111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvx111/subscriptions","organizations_url":"https://api.github.com/users/gvx111/orgs","repos_url":"https://api.github.com/users/gvx111/repos","events_url":"https://api.github.com/users/gvx111/events{/privacy}","received_events_url":"https://api.github.com/users/gvx111/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T15:16:39Z","updated_at":"2015-08-24T15:16:39Z","body":"I fixed this problem but we have also another problem about Url.Action. Url.Action Can not generate path of action. I write extension of IUrlHelper but it is not the best way.\r\n<pre>\r\n public static class ModuleHelper\r\n    {\r\n        public static string ModuleAreaName { get; set; }\r\n        public static string ModuleArea(this IUrlHelper path, string content)\r\n        {\r\n            return path.Content($\"~/Modules/{ModuleAreaName}/{content}\");\r\n        }\r\n\r\n        public static string ModuleAction(this IUrlHelper path, string controller, string action)\r\n        {\r\n            return $\"~/admin/{controller}/{action}\";\r\n        }\r\n        public static string ModuleAreaView(this IUrlHelper path, string content)\r\n        {\r\n            return path.Content($\"~/Modules/{ModuleAreaName}/Views/{content}.cshtml\");\r\n        }\r\n    }\r\n</pre>"}}