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:
=

instalar:
=

Versiones:

  1. 1.0.0 October 10, 2010 (3,5 KB)

dependencias de Runtime (1):

Propietarios:

Autores:

  • Patrick Byrne

SHA 256 checksum:

=

Total de descargas 5.324

Para esta versión 5.324

Versión publicada:

Licencias:

N/A

Versión de Ruby requerida: Ninguno

Enlace: