Class: Decidim::StaticPageTopic

Inherits:
ApplicationRecord show all
Includes:
TranslatableResource
Defined in:
app/models/decidim/static_page_topic.rb

Instance Method Summary collapse

Instance Method Details

#accessible_pages_for(user) ⇒ Object



15
16
17
# File 'app/models/decidim/static_page_topic.rb', line 15

def accessible_pages_for(user)
  pages.accessible_for(organization, user)
end