{"comment":{"url":"https://api.github.com/repos/Madek/madek-webapp/comments/13181132","html_url":"https://github.com/Madek/madek-webapp/commit/53afd70f35b62e676576601389ed70cd16bcb6c7#commitcomment-13181132","id":13181132,"user":{"login":"nimaai","id":3205913,"avatar_url":"https://avatars.githubusercontent.com/u/3205913?v=3","gravatar_id":"","url":"https://api.github.com/users/nimaai","html_url":"https://github.com/nimaai","followers_url":"https://api.github.com/users/nimaai/followers","following_url":"https://api.github.com/users/nimaai/following{/other_user}","gists_url":"https://api.github.com/users/nimaai/gists{/gist_id}","starred_url":"https://api.github.com/users/nimaai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nimaai/subscriptions","organizations_url":"https://api.github.com/users/nimaai/orgs","repos_url":"https://api.github.com/users/nimaai/repos","events_url":"https://api.github.com/users/nimaai/events{/privacy}","received_events_url":"https://api.github.com/users/nimaai/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"53afd70f35b62e676576601389ed70cd16bcb6c7","created_at":"2015-09-11T11:58:06Z","updated_at":"2015-09-11T11:58:06Z","body":"We discussed it with @eins78 and both found that it is basically OK, but we prefer a single form PUT/POST (update/create) solution wherever possible. Please refactor the code respectively. You can take a look at https://github.com/Madek/madek-webapp/blob/madek-v3/app/controllers/concerns/media_resources/permissions_actions.rb, which is a bit more complex example."}}