Sha256: 53a2f5e1d335dfa212572a945e00d2eff71be9d037587f665df4c7dab8aaf383
Contents?: true
Size: 542 Bytes
Versions: 17
Compression:
Stored size: 542 Bytes
Contents
module Controller module ResourceLinksConcern extend ActiveSupport::Concern # included do # helper_method :resource_pages # end # private # def resource_pages # # Itsf::Backend::Configuration.default_resource_pages + # Itsf::Backend::Configuration.resource_pages.map { |arp| arp.respond_to?(:call) ? arp.call(self) : arp.to_sym }.compact # end included do helper_method :resource_links end private def resource_links Itsf::Backend.resource_links end end end
Version data entries
17 entries across 17 versions & 1 rubygems