moved logic for authorization out of answers controller into the policy
dev
1 parent 0f60ec0 commit 84c30108d299c293446d26ae8aaad759bc557165
@xsrust xsrust authored on 14 Sep 2016
Showing 2 changed files
View
app/controllers/answers_controller.rb
View
app/policies/answer_policy.rb 0 → 100644