Open grimm opened 7 years ago
use simple form to add select. use cancancan record fetching functions to pull orgs.
@articles = Article.accessible_by(current_ability, :read) from https://github.com/CanCanCommunity/cancancan/wiki/Fetching-Records
@articles = Article.accessible_by(current_ability, :read)
use simple form to add select. use cancancan record fetching functions to pull orgs.