Skip to content

Instantly share code, notes, and snippets.

@burke
Created June 9, 2011 16:45
Show Gist options
  • Save burke/1017150 to your computer and use it in GitHub Desktop.
Save burke/1017150 to your computer and use it in GitHub Desktop.
Things I wish existed...
class GenericController < ApplicationController
end
class SpecificController < GenericController
end
-# apps/views/generic/_toolbar.html.haml
%ul
%li Thing 1
%li Thing 2
= yield
-# apps/views/specific/_toolbar.html.haml
= super do
%li Thing 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment