Skip to content

Commit

Permalink
[#500 state:resolved] Default view hint for model_name doesn't have s…
Browse files Browse the repository at this point in the history
…paces.
  • Loading branch information
bryanlarsen committed Nov 30, 2009
1 parent 4e9891b commit 91fbbe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hobo/lib/hobo/view_hints.rb
Expand Up @@ -27,7 +27,7 @@ def self.setter(name, default=nil, &block)
end
end

setter :model_name, proc { name.sub(/Hints$/, "") }
setter :model_name, proc { name.sub(/Hints$/, "").titleize }

setter :field_names, {}

Expand Down

0 comments on commit 91fbbe1

Please sign in to comment.