Created
May 4, 2012 18:19
-
-
Save hmans/2596722 to your computer and use it in GitHub Desktop.
Freddie objects!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run Freddie(:redirect, '/events') do | |
layout 'application' | |
child 'events', Freddie(:resource, Event) # full Rails-style RESTful web resource. :) | |
child 'application.css', Freddie(:stylesheet, 'application.css.scss') | |
child 'application.js', Freddie(:static, 'views/application.js', content_type: 'text/javascript') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment