Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Devise2 和 Rails3。我想根据路线(users/foo vs users/bar)显示不同格式的登录视图。我不确定在哪里挂钩这种行为。
似乎您必须使用 2 个动作 foo 和 bar 创建自己的设计控制器。在这里寻找一些灵感覆盖设计注册控制器
In order to fix an IE9 bug I had to put the 'DOCTYPE' declaration at the top of the page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&