History for dmpopidor / app / policies / answer_policy.rb
2017-12-05
@Jose Lloret
removed after_create callback for answers since no longer is needed after introducing transactions. DMPRoadmap/roadmap#893 ...
Jose Lloret committed on 5 Dec 2017
2017-04-13
@briley
updates to locking mechanism because it ActiveRecord does not catch 2 creates DMPRoadmap/roadmap#241
briley committed on 13 Apr 2017
@briley
realized answer policy was never firing. updated create? to update? and fixed typo DMPRoadmap/roadmap#241
briley committed on 13 Apr 2017
2017-01-04
@xsrust
updated some of the answers structure, commented for future updates
xsrust committed on 4 Jan 2017
2016-09-16
@xsrust
moved authorization logic from comments controller to policy file. Additionally removed unused crud methods
xsrust committed on 16 Sep 2016
@xsrust
moved logic for authorization out of answers controller into the policy
xsrust committed on 16 Sep 2016