Skip to content
Browse files

After using on first app decided to add note to help users isolate la…

  • Loading branch information...
1 parent 557ffa4 commit f3dc16c0e324f59fe1da453cb34d4db6dcf04c00 @eric1234 committed Oct 19, 2012
Showing with 14 additions and 0 deletions.
  1. +14 −0 README.rdoc
14 README.rdoc
@@ -80,6 +80,20 @@ nice features:
* If you don't like a pre-packaged error message you can easily override
in your own locale files.
+= Isolating your Layout
+This gem is implemented as a isolated engine. This means that even
+though it uses your layout it doesn't know anything about your
+application's routes. This means in order for your layout to work you
+may need to add a few conditionals to your layout. For example if you
+have a logout action in your layout you may need to change:
+ <%= link_to 'Log-out', logout_path %>
+ <%= link_to 'Log-out', logout_path if respond_to? :logout_path %>
= A Bit of Background
In old versions of Rails there was a mismatch of things to help you

0 comments on commit f3dc16c

Please sign in to comment.
Something went wrong with that request. Please try again.