{"action":"created","comment":{"url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/pulls/comments/50638586","id":50638586,"diff_hunk":"@@ -64,15 +53,26 @@ def verify_route_path(route_path)\n         ) if route_path.empty?\n       end\n \n-      def pick_out_url_variables(split_route_path)\n+      def parse_route_args(split_route_path)\n         route_split_helper = RouteSplitter.new(split_route_path)\n-        route_split_helper.pick_out_url_variables\n-        variable_hash = route_split_helper.url_variable_hash\n-        regex_match = route_split_helper.url_regex_match\n+        ","path":"lib/hemp/routing/base.rb","position":59,"original_position":59,"commit_id":"a8e1eadaff5e1a3315c9c2d742a74b665bf8dee8","original_commit_id":"a8e1eadaff5e1a3315c9c2d742a74b665bf8dee8","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Trailing whitespace detected.","created_at":"2016-01-24T17:24:27Z","updated_at":"2016-01-24T17:24:27Z","html_url":"https://github.com/andela-toduah/hemp-web-framework/pull/5#discussion_r50638586","pull_request_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/andela-toduah/hemp-web-framework/pulls/comments/50638586"},"html":{"href":"https://github.com/andela-toduah/hemp-web-framework/pull/5#discussion_r50638586"},"pull_request":{"href":"https://api.github.com/repos/andela-toduah/hemp-web-framework/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/pulls/5","id":57008390,"html_url":"https://github.com/andela-toduah/hemp-web-framework/pull/5","diff_url":"https://github.com/andela-toduah/hemp-web-framework/pull/5.diff","patch_url":"https://github.com/andela-toduah/hemp-web-framework/pull/5.patch","issue_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/issues/5","number":5,"state":"open","locked":false,"title":"Why?","user":{"login":"andela-toduah","id":15727582,"avatar_url":"https://avatars.githubusercontent.com/u/15727582?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-toduah","html_url":"https://github.com/andela-toduah","followers_url":"https://api.github.com/users/andela-toduah/followers","following_url":"https://api.github.com/users/andela-toduah/following{/other_user}","gists_url":"https://api.github.com/users/andela-toduah/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-toduah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-toduah/subscriptions","organizations_url":"https://api.github.com/users/andela-toduah/orgs","repos_url":"https://api.github.com/users/andela-toduah/repos","events_url":"https://api.github.com/users/andela-toduah/events{/privacy}","received_events_url":"https://api.github.com/users/andela-toduah/received_events","type":"User","site_admin":false},"body":"Allow controllers render views automatically by explicitly calling the render method or if it's not present, it's done automatically. Views are mapped under controller folders, named same as the controller action/method.\r\n\r\nHow?\r\nAdded BaseController class to be inherited by all controlelrs. Set up render method in controller that handles rendering views. Refactored Application class to check if controller action calls render, and if not, infer appropriate render view from action name, and then call.","created_at":"2016-01-24T17:24:22Z","updated_at":"2016-01-24T17:24:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8408ba35f00e197c70bf9f4c28d656e08dfb9547","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/pulls/5/commits","review_comments_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/pulls/5/comments","review_comment_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/issues/5/comments","statuses_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/statuses/a8e1eadaff5e1a3315c9c2d742a74b665bf8dee8","head":{"label":"andela-toduah:ft-rendering-views-111809164","ref":"ft-rendering-views-111809164","sha":"a8e1eadaff5e1a3315c9c2d742a74b665bf8dee8","user":{"login":"andela-toduah","id":15727582,"avatar_url":"https://avatars.githubusercontent.com/u/15727582?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-toduah","html_url":"https://github.com/andela-toduah","followers_url":"https://api.github.com/users/andela-toduah/followers","following_url":"https://api.github.com/users/andela-toduah/following{/other_user}","gists_url":"https://api.github.com/users/andela-toduah/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-toduah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-toduah/subscriptions","organizations_url":"https://api.github.com/users/andela-toduah/orgs","repos_url":"https://api.github.com/users/andela-toduah/repos","events_url":"https://api.github.com/users/andela-toduah/events{/privacy}","received_events_url":"https://api.github.com/users/andela-toduah/received_events","type":"User","site_admin":false},"repo":{"id":49771351,"name":"hemp-web-framework","full_name":"andela-toduah/hemp-web-framework","owner":{"login":"andela-toduah","id":15727582,"avatar_url":"https://avatars.githubusercontent.com/u/15727582?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-toduah","html_url":"https://github.com/andela-toduah","followers_url":"https://api.github.com/users/andela-toduah/followers","following_url":"https://api.github.com/users/andela-toduah/following{/other_user}","gists_url":"https://api.github.com/users/andela-toduah/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-toduah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-toduah/subscriptions","organizations_url":"https://api.github.com/users/andela-toduah/orgs","repos_url":"https://api.github.com/users/andela-toduah/repos","events_url":"https://api.github.com/users/andela-toduah/events{/privacy}","received_events_url":"https://api.github.com/users/andela-toduah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-toduah/hemp-web-framework","description":"Simple web framework for building web apps in Ruby following the MVC design pattern","fork":false,"url":"https://api.github.com/repos/andela-toduah/hemp-web-framework","forks_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/forks","keys_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/teams","hooks_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/hooks","issue_events_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/issues/events{/number}","events_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/events","assignees_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/assignees{/user}","branches_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/branches{/branch}","tags_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/tags","blobs_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/languages","stargazers_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/stargazers","contributors_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/contributors","subscribers_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/subscribers","subscription_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/subscription","commits_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/contents/{+path}","compare_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/merges","archive_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/downloads","issues_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/issues{/number}","pulls_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/labels{/name}","releases_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/releases{/id}","deployments_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/deployments","created_at":"2016-01-16T11:51:36Z","updated_at":"2016-01-16T11:58:31Z","pushed_at":"2016-01-24T17:24:22Z","git_url":"git://github.com/andela-toduah/hemp-web-framework.git","ssh_url":"git@github.com:andela-toduah/hemp-web-framework.git","clone_url":"https://github.com/andela-toduah/hemp-web-framework.git","svn_url":"https://github.com/andela-toduah/hemp-web-framework","homepage":"","size":23,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"andela-toduah:master","ref":"master","sha":"8d7c06ce6d407d269400544fc5fb11f7c3865219","user":{"login":"andela-toduah","id":15727582,"avatar_url":"https://avatars.githubusercontent.com/u/15727582?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-toduah","html_url":"https://github.com/andela-toduah","followers_url":"https://api.github.com/users/andela-toduah/followers","following_url":"https://api.github.com/users/andela-toduah/following{/other_user}","gists_url":"https://api.github.com/users/andela-toduah/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-toduah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-toduah/subscriptions","organizations_url":"https://api.github.com/users/andela-toduah/orgs","repos_url":"https://api.github.com/users/andela-toduah/repos","events_url":"https://api.github.com/users/andela-toduah/events{/privacy}","received_events_url":"https://api.github.com/users/andela-toduah/received_events","type":"User","site_admin":false},"repo":{"id":49771351,"name":"hemp-web-framework","full_name":"andela-toduah/hemp-web-framework","owner":{"login":"andela-toduah","id":15727582,"avatar_url":"https://avatars.githubusercontent.com/u/15727582?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-toduah","html_url":"https://github.com/andela-toduah","followers_url":"https://api.github.com/users/andela-toduah/followers","following_url":"https://api.github.com/users/andela-toduah/following{/other_user}","gists_url":"https://api.github.com/users/andela-toduah/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-toduah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-toduah/subscriptions","organizations_url":"https://api.github.com/users/andela-toduah/orgs","repos_url":"https://api.github.com/users/andela-toduah/repos","events_url":"https://api.github.com/users/andela-toduah/events{/privacy}","received_events_url":"https://api.github.com/users/andela-toduah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andela-toduah/hemp-web-framework","description":"Simple web framework for building web apps in Ruby following the MVC design pattern","fork":false,"url":"https://api.github.com/repos/andela-toduah/hemp-web-framework","forks_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/forks","keys_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/teams","hooks_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/hooks","issue_events_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/issues/events{/number}","events_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/events","assignees_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/assignees{/user}","branches_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/branches{/branch}","tags_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/tags","blobs_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/languages","stargazers_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/stargazers","contributors_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/contributors","subscribers_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/subscribers","subscription_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/subscription","commits_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/contents/{+path}","compare_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/merges","archive_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/downloads","issues_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/issues{/number}","pulls_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/labels{/name}","releases_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/releases{/id}","deployments_url":"https://api.github.com/repos/andela-toduah/hemp-web-framework/deployments","created_at":"2016-01-16T11:51:36Z","updated_at":"2016-01-16T11:58:31Z","pushed_at":"2016-01-24T17:24:22Z","git_url":"git://github.com/andela-toduah/hemp-web-framework.git","ssh_url":"git@github.com:andela-toduah/hemp-web-framework.git","clone_url":"https://github.com/andela-toduah/hemp-web-framework.git","svn_url":"https://github.com/andela-toduah/hemp-web-framework","homepage":"","size":23,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela-toduah/hemp-web-framework/pulls/5"},"html":{"href":"https://github.com/andela-toduah/hemp-web-framework/pull/5"},"issue":{"href":"https://api.github.com/repos/andela-toduah/hemp-web-framework/issues/5"},"comments":{"href":"https://api.github.com/repos/andela-toduah/hemp-web-framework/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/andela-toduah/hemp-web-framework/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/andela-toduah/hemp-web-framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela-toduah/hemp-web-framework/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/andela-toduah/hemp-web-framework/statuses/a8e1eadaff5e1a3315c9c2d742a74b665bf8dee8"}}}}