moved logic for authorization out of answers controller into the policy
dev
1 parent c696c8b commit 0f063c68654252de6ee89d9dd334cb238a4950be
@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