Permalink
Browse files

Use class_name instead of singular and downcase name for filters

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

0 comments on commit 537c690

Please sign in to comment.