diff options
author | Julio Capote <jcapote@gmail.com> | 2018-11-06 20:26:21 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2018-11-06 20:26:21 +0000 |
commit | 3d98eee4f2da4fecff7ce41bfe66a6b40eb2fc43 (patch) | |
tree | 622a5392f5af3782c74184fdf867da55c96bf72a /content/post/2008-9-27-highlight-link-based-on-current-page-in-rails.markdown | |
parent | d15dc6c9daaaff093b825b650a079b3ac02b362e (diff) | |
download | capotej.com-3d98eee4f2da4fecff7ce41bfe66a6b40eb2fc43.tar.gz |
fix post teasers
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 |