In particular, pet#load was handling locale-switching itself, but wasn't switching back to original locale on error. We could've used a rescue block, but, when I18n.with_locale is so cool, may as well use it fully. |
||
|---|---|---|
| .. | ||
| controllers | ||
| flex | ||
| helpers | ||
| models | ||
| stylesheets | ||
| views | ||