Skip to content

Commit

Permalink
mentioned how you can add customize the position of your notes in you…
Browse files Browse the repository at this point in the history
…r app
  • Loading branch information
ayrton committed Nov 26, 2011
1 parent 49470eb commit ba1aef8
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 ba1aef8

Please sign in to comment.