Skip to content

Commit

Permalink
Block Quote
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Sofaer committed Sep 12, 2010
1 parent 030ec6e commit 6e3c2e0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ I decided to go with Handlebars because it was in my RSS reader when I was worki

The controller is pretty simple, using the Rails 3 "respond_with" feature.
##WelcomeController
require 'lib/application_presenter'
class WelcomeController < ApplicationPresenter
def index
respond_with :text => "hello"
end
end
>require 'lib/application_presenter'
>class WelcomeController < ApplicationPresenter
> def index
> respond_with :text => "hello"
> end
>end
The view is a handlebars template
##app/views/welcome/index.html.bar
Expand Down

0 comments on commit 6e3c2e0

Please sign in to comment.