Skip to content

Instantly share code, notes, and snippets.

View rreynier's full-sized avatar

Roeland Reyniers rreynier

View GitHub Profile
@pheisiph
pheisiph / application_helper.rb
Created April 8, 2012 13:08
Useful standard classes I add to body tags in all my rails apps
module ApplicationHelper
# Public: Add a bunch of default class names to your html body element.
# By default it adds the name of the application, the current
# controller and the action
#
# classes - Arbitrary class names that are appended. Can be an Array
# of Strings or Symbols, or a single String or
# Symbol (or any to_s responder).
#
# Examples