lib/proxes/helpers/component.rb in proxes-0.1.0 vs lib/proxes/helpers/component.rb in proxes-0.2.0
- old
+ new
@@ -26,9 +26,13 @@
h
end
@headings[action]
end
+ def dehumanized
+ settings.dehumanized || ActiveSupport::Inflector.underscore(heading)
+ end
+
def base_path
settings.base_path || "/_proxes/#{heading(:list).downcase}"
end
def view_location