Sha256: f29f261bfdf07d4539c1af76c027a142ac7bac22f4a07e2f0a213063ecb0820c
Contents?: true
Size: 284 Bytes
Versions: 1
Compression:
Stored size: 284 Bytes
Contents
module Para module Component module SingletonResourceDecorator include Para::Component::BaseDecorator def relation_path(controller_or_resource, options = {}) polymorphic_path([:admin, self, :singleton_resource].compact, options) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
para-0.4.0 | app/decorators/para/component/singleton_resource_decorator.rb |