aboutsummaryrefslogtreecommitdiff
path: root/content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown
diff options
context:
space:
mode:
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.markdown2
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