Sha256: bdccc3846cb8289f879cf89aa7e2d12a216e2e8ffec7acde2cf5fe96815472dd
Contents?: true
Size: 431 Bytes
Versions: 12
Compression:
Stored size: 431 Bytes
Contents
module NavigationHelpers module Refinery module <%= class_name.pluralize %><%= 'Engine' if plural_name == singular_name %> def path_to(page_name) case page_name when /the list of <%= plural_name %>/ admin_<%= plural_name %>_path when /the new <%= singular_name %> form/ new_admin_<%= singular_name %>_path else nil end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems