Drop @can_modify from BuildLogController
Use the standard object_to_authorze before filter and the pundit policy instead of re-inventing it.
Please register or sign in to comment
Use the standard object_to_authorze before filter and the pundit policy instead of re-inventing it.