Skip to content

Commit

Permalink
✂️
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Rafael Mendonça França committed Sep 21, 2013
1 parent 15cfe74 commit 9e664dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,14 @@ You can pass in extra interpolation options for the translation by adding an `in
```ruby
class InvitationsController < ApplicationController
responders :flash, :http_cache
def create
@invitation = Invitation.create(params[:invitation])
respond_with @invitation
end
end
private
def interpolation_options
{ resource_name: @invitation.email }
end
Expand Down

0 comments on commit 9e664dd

Please sign in to comment.