RubyGems Navigation menu

dynamic-body-class-and-id 1.0.0

The gem adds body_class and body_id helpers to your Rails app. The ID is based on the name of the controller and the class is based on the name of the action. Use this in your CSS to provide page-specific styles. For example, when accessing http://example.com/post/123, the body ID would be "post" and the class would be "show".

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 1.0.0 - October 10, 2010 (3,5 ko)

Dépendances de Runtime (1):

Propriétaires:

Auteurs:

  • Patrick Byrne

Total de contrôle SHA 256:

af4aa687b816d5391fad943f2f95d0b6651ae3c1de818f87b4e01355323a1901

Total de téléchargements 5 157

Pour cette version 5 157

License:

aucune

Version de Ruby requise: None

Liens: