Skip to content

Commit

Permalink
Merge pull request indirect#65 from ayrton/master
Browse files Browse the repository at this point in the history
[^] README.rdoc position your rails footnotes section
  • Loading branch information
nordringrayhide committed Nov 26, 2011
2 parents 49470eb + ba1aef8 commit 3cccb6b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,13 @@ For example, to create a note that shows info about the user logged in your appl
Then put in your environment:

Footnotes::Filter.notes += [:current_user]

== Display of the notes

By default the notes will be showed at the bottom of your page (appended just before </body>).
If you'd like these notes on a different place (perhaps for aesthetical reasons) you can edit one of your views and add:
<div id="footnotes_holder"></div>
at an appropriate place, your notes will now appear inside div#footnotes_holder

== Colaborators

Expand Down

0 comments on commit 3cccb6b

Please sign in to comment.