{"action":"created","issue":{"url":"https://api.github.com/repos/amberframework/amber/issues/848","repository_url":"https://api.github.com/repos/amberframework/amber","labels_url":"https://api.github.com/repos/amberframework/amber/issues/848/labels{/name}","comments_url":"https://api.github.com/repos/amberframework/amber/issues/848/comments","events_url":"https://api.github.com/repos/amberframework/amber/issues/848/events","html_url":"https://github.com/amberframework/amber/issues/848","id":332991105,"node_id":"MDU6SXNzdWUzMzI5OTExMDU=","number":848,"title":"Redirect with Controller param as String","user":{"login":"eliasjpr","id":1685772,"node_id":"MDQ6VXNlcjE2ODU3NzI=","avatar_url":"https://avatars2.githubusercontent.com/u/1685772?v=4","gravatar_id":"","url":"https://api.github.com/users/eliasjpr","html_url":"https://github.com/eliasjpr","followers_url":"https://api.github.com/users/eliasjpr/followers","following_url":"https://api.github.com/users/eliasjpr/following{/other_user}","gists_url":"https://api.github.com/users/eliasjpr/gists{/gist_id}","starred_url":"https://api.github.com/users/eliasjpr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliasjpr/subscriptions","organizations_url":"https://api.github.com/users/eliasjpr/orgs","repos_url":"https://api.github.com/users/eliasjpr/repos","events_url":"https://api.github.com/users/eliasjpr/events{/privacy}","received_events_url":"https://api.github.com/users/eliasjpr/received_events","type":"User","site_admin":false},"labels":[{"id":585735836,"node_id":"MDU6TGFiZWw1ODU3MzU4MzY=","url":"https://api.github.com/repos/amberframework/amber/labels/kind:bug","name":"kind:bug","color":"b60205","default":false},{"id":823875607,"node_id":"MDU6TGFiZWw4MjM4NzU2MDc=","url":"https://api.github.com/repos/amberframework/amber/labels/status:wip","name":"status:wip","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":{"login":"eliasjpr","id":1685772,"node_id":"MDQ6VXNlcjE2ODU3NzI=","avatar_url":"https://avatars2.githubusercontent.com/u/1685772?v=4","gravatar_id":"","url":"https://api.github.com/users/eliasjpr","html_url":"https://github.com/eliasjpr","followers_url":"https://api.github.com/users/eliasjpr/followers","following_url":"https://api.github.com/users/eliasjpr/following{/other_user}","gists_url":"https://api.github.com/users/eliasjpr/gists{/gist_id}","starred_url":"https://api.github.com/users/eliasjpr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliasjpr/subscriptions","organizations_url":"https://api.github.com/users/eliasjpr/orgs","repos_url":"https://api.github.com/users/eliasjpr/repos","events_url":"https://api.github.com/users/eliasjpr/events{/privacy}","received_events_url":"https://api.github.com/users/eliasjpr/received_events","type":"User","site_admin":false},"assignees":[{"login":"eliasjpr","id":1685772,"node_id":"MDQ6VXNlcjE2ODU3NzI=","avatar_url":"https://avatars2.githubusercontent.com/u/1685772?v=4","gravatar_id":"","url":"https://api.github.com/users/eliasjpr","html_url":"https://github.com/eliasjpr","followers_url":"https://api.github.com/users/eliasjpr/followers","following_url":"https://api.github.com/users/eliasjpr/following{/other_user}","gists_url":"https://api.github.com/users/eliasjpr/gists{/gist_id}","starred_url":"https://api.github.com/users/eliasjpr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliasjpr/subscriptions","organizations_url":"https://api.github.com/users/eliasjpr/orgs","repos_url":"https://api.github.com/users/eliasjpr/repos","events_url":"https://api.github.com/users/eliasjpr/events{/privacy}","received_events_url":"https://api.github.com/users/eliasjpr/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-06-16T14:34:19Z","updated_at":"2018-06-22T15:47:54Z","closed_at":null,"author_association":"MEMBER","body":"### Description\r\n\r\nWhen trying to redirect using `redirect_to controller: \"post\", action: :index, flash: { \"success\" => \"Created Post successfully.\" }` redirection fails due to type error. \r\n\r\n### Error \r\n\r\n```bash\r\nlib/amber/src/amber/controller/helpers/redirect.cr:8: no overload matches 'Amber::Controller::Helpers::Redirector.from_controller_action' with types String, Symbol, flash: Hash(String, String)\r\nOverloads are:\r\n - Amber::Controller::Helpers::Redirector.from_controller_action(controller : Class, action : Symbol, **options)\r\n - Amber::Controller::Helpers::Redirector.from_controller_action(controller : Symbol, action : Symbol, **options)\r\n```\r\n\r\nPS - I am working on a fix for this "},"comment":{"url":"https://api.github.com/repos/amberframework/amber/issues/comments/399487688","html_url":"https://github.com/amberframework/amber/issues/848#issuecomment-399487688","issue_url":"https://api.github.com/repos/amberframework/amber/issues/848","id":399487688,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTQ4NzY4OA==","user":{"login":"eliasjpr","id":1685772,"node_id":"MDQ6VXNlcjE2ODU3NzI=","avatar_url":"https://avatars2.githubusercontent.com/u/1685772?v=4","gravatar_id":"","url":"https://api.github.com/users/eliasjpr","html_url":"https://github.com/eliasjpr","followers_url":"https://api.github.com/users/eliasjpr/followers","following_url":"https://api.github.com/users/eliasjpr/following{/other_user}","gists_url":"https://api.github.com/users/eliasjpr/gists{/gist_id}","starred_url":"https://api.github.com/users/eliasjpr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliasjpr/subscriptions","organizations_url":"https://api.github.com/users/eliasjpr/orgs","repos_url":"https://api.github.com/users/eliasjpr/repos","events_url":"https://api.github.com/users/eliasjpr/events{/privacy}","received_events_url":"https://api.github.com/users/eliasjpr/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T15:47:54Z","updated_at":"2018-06-22T15:47:54Z","author_association":"MEMBER","body":"Fixed #849"}}
{"actor":{"display_login":"eliasjpr"}}