Skip to content

Commit

Permalink
Update some stuff in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bxt committed Sep 19, 2013
1 parent 1d03381 commit 13083c4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Behold, the NavLinks:

Gem. Rails. Nav links. he nav_link_to helper works just like the standard Rails link_to helper, but adds a 'selected' class to your link (or its wrapper) if certain criteria are met. By default, if the link's destination url is the same url as the url of the current page, a default class of 'selected' is added to the link. Just replace `link_to` with `nav_link_to` in your templates.
[![Build Status](https://travis-ci.org/bxt/wptemplates.png?branch=master)](https://travis-ci.org/bxt/wptemplates)

Gem. Rails. Nav links. The nav_link_to helper works just like the standard Rails link_to helper, but adds a 'selected' class to your link (or its wrapper) if certain criteria are met. By default, if the link's destination url is the same url as the url of the current page, a default class of 'selected' is added to the link. Just replace `link_to` with `nav_link_to` in your templates.

## Installation

Expand Down Expand Up @@ -48,7 +50,6 @@ You can reduce duplication and wrap `nav_link_to` calls with the same options wi

Here's what you can do on a rainy day:

- Integrate Travis CI
- Write integration tests
- Extend docs

Expand All @@ -62,5 +63,5 @@ Here's what you can do on a rainy day:

## Credits

This gem is mostly based on the gem [nav_lynx](https://github.com/vigetlabs/nav_lynx).
This gem is mostly based on the gem [nav_lynx](https://github.com/vigetlabs/nav_lynx) and sponsored by [Sophisticates GmbH](http://sophisticates.de/)

0 comments on commit 13083c4

Please sign in to comment.