diff options
Diffstat (limited to 'content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown')
-rw-r--r-- | content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown b/content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown index e53db49..c9a20f7 100644 --- a/content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown +++ b/content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown @@ -10,7 +10,7 @@ tags: This is common pattern in website navigation, where it highlights the link (usually by setting `class=”active”`) that took you to the current page while you are on that page. - +<!--more--> First, define a helper: ```ruby |