Sha256: f497289d1b2dd9be531d67b2b626500306cef621fc76638c9fd2bbcf9c0344a5
Contents?: true
Size: 147 Bytes
Versions: 20
Compression:
Stored size: 147 Bytes
Contents
module CommonObjectsHelper def common_object_partial_for(object) object.to_partial_path.sub(/\A.*\/([^\/]*)\Z/,'common_objects/\1') end end
Version data entries
20 entries across 20 versions & 1 rubygems