2009-07-21から1日間の記事一覧
別のcontrollerで使用されているlayoutファイルを、他のcontrollerでも使い回したい場合の対応方法。 具体的には、restful_authenticationのsession_controller.rbやusers_controller.rbにもデフォルトのlayoutを適用させたい等の場合。 layoutファイルはvie…
別のcontrollerで使用されているlayoutファイルを、他のcontrollerでも使い回したい場合の対応方法。 具体的には、restful_authenticationのsession_controller.rbやusers_controller.rbにもデフォルトのlayoutを適用させたい等の場合。 layoutファイルはvie…