{"action":"created","issue":{"url":"https://api.github.com/repos/trenpixster/addict/issues/24","labels_url":"https://api.github.com/repos/trenpixster/addict/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/trenpixster/addict/issues/24/comments","events_url":"https://api.github.com/repos/trenpixster/addict/issues/24/events","html_url":"https://github.com/trenpixster/addict/issues/24","id":58681902,"number":24,"title":"Template and view generation","user":{"login":"trestrantham","id":17526,"avatar_url":"https://avatars.githubusercontent.com/u/17526?v=3","gravatar_id":"","url":"https://api.github.com/users/trestrantham","html_url":"https://github.com/trestrantham","followers_url":"https://api.github.com/users/trestrantham/followers","following_url":"https://api.github.com/users/trestrantham/following{/other_user}","gists_url":"https://api.github.com/users/trestrantham/gists{/gist_id}","starred_url":"https://api.github.com/users/trestrantham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trestrantham/subscriptions","organizations_url":"https://api.github.com/users/trestrantham/orgs","repos_url":"https://api.github.com/users/trestrantham/repos","events_url":"https://api.github.com/users/trestrantham/events{/privacy}","received_events_url":"https://api.github.com/users/trestrantham/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/trenpixster/addict/labels/feature","name":"feature","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-24T01:49:42Z","updated_at":"2015-02-26T20:50:16Z","closed_at":null,"body":"Creating this issue to track creation of standard scaffolding for addict templates and views.\r\n\r\nContinuing conversation from #22:\r\nThe plan is to create an addict folder in web/templates to house these 5 templates with a shared view at web/views/addict.ex. The templates would be normal forms rather than submitting via javascript.\r\n\r\nThis approach will add `mix addict.gen.view_templates` or something similar to #9."},"comment":{"url":"https://api.github.com/repos/trenpixster/addict/issues/comments/76269538","html_url":"https://github.com/trenpixster/addict/issues/24#issuecomment-76269538","issue_url":"https://api.github.com/repos/trenpixster/addict/issues/24","id":76269538,"user":{"login":"jxs","id":1204690,"avatar_url":"https://avatars.githubusercontent.com/u/1204690?v=3","gravatar_id":"","url":"https://api.github.com/users/jxs","html_url":"https://github.com/jxs","followers_url":"https://api.github.com/users/jxs/followers","following_url":"https://api.github.com/users/jxs/following{/other_user}","gists_url":"https://api.github.com/users/jxs/gists{/gist_id}","starred_url":"https://api.github.com/users/jxs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jxs/subscriptions","organizations_url":"https://api.github.com/users/jxs/orgs","repos_url":"https://api.github.com/users/jxs/repos","events_url":"https://api.github.com/users/jxs/events{/privacy}","received_events_url":"https://api.github.com/users/jxs/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T20:50:16Z","updated_at":"2015-02-26T20:50:16Z","body":"I have just read the documentation about choosing the (default render)[http://www.phoenixframework.org/v0.9.0/docs/controllers] via plug.\r\nso @trestrantham my idea is that, if we define the default render plug on the `AddictController` being json, and then `BaseController` agnostic , changing just the functions to return `conn`\r\nwhat do you think? i can make a gist, give me just a couple minutes"}}