Default flash messages do not use view hints
Reported by Iain | April 30th, 2010 @ 02:33 AM | in Hobo 1.0X
After create and update, the default flash message displayed by hobo ignores the model name view hint for the class, and instead just uses the class name.
Eg. If I have this setup:
class Foo < ActiveRecord::Base
end
class FooHints < Hobo::ViewHints
model_name "Bar"
end
Then after an update, the flash message displayed (assuming I have no i18n files) will be:
Changes to the foo were saved
rather than:
Changes to the bar were saved
Comments and changes to this ticket
-
Tom Locke May 1st, 2010 @ 09:00 AM
(from [69bf6e24c701103bc44c24a218bc88f02f2a9223]) [#713] This should fix bug 713 in lighthouse (flash not using view hints for model name) http://github.com/tablatom/hobo/commit/69bf6e24c701103bc44c24a218bc...
-
Tom Locke May 20th, 2010 @ 03:04 PM
(from [1ce4abec7d722a97d94066981d9955e971236b04]) [#713] This should fix bug 713 in lighthouse (flash not using view hints for model name) http://github.com/tablatom/hobo/commit/1ce4abec7d722a97d94066981d99...
-
Owen May 29th, 2010 @ 12:10 AM
- Milestone set to Hobo 1.0X
- State changed from new to open
- Assigned user set to Tom Locke
Not sure if this should be labelled resolved.
-
Bryan Larsen November 15th, 2010 @ 06:12 PM
- State changed from open to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Tags
Referenced by
- 713 Default flash messages do not use view hints (from [69bf6e24c701103bc44c24a218bc88f02f2a9223]) [#713] ...
- 713 Default flash messages do not use view hints (from [1ce4abec7d722a97d94066981d9955e971236b04]) [#713] ...
- 625 Flash messages should use viewhints dupe of #713