Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use class_name instead of singular and downcase name for filters

  • Loading branch information...
commit 537c6909d0e72076e6f9e38570741d9e834a3434 1 parent 2c38d34
Jon de Andres authored bfcapell committed
2  ubiquo_scaffold/lib/generators/ubiquo/controller/templates/helper.rb.tt
... ... @@ -1,6 +1,6 @@
1 1 module Ubiquo::<%= class_name.pluralize %>Helper
2 2 def <%= singular_name %>_filters
3   - filters_for "<%= singular_name %>" do |f|
  3 + filters_for "<%= class_name %>" do |f|
4 4 f.text
5 5 <%- if options[:translatable] -%>
6 6 f.locale

0 comments on commit 537c690

Please sign in to comment.
Something went wrong with that request. Please try again.