Skip to content

Commit

Permalink
alias localize and l for draper compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
blaknite committed May 17, 2016
1 parent 0235332 commit 620a571
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/blush/presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,11 @@ def helpers
end

alias_method :h, :helpers

def localize
helpers.localize
end

alias_method :l, :helpers
end
end

0 comments on commit 620a571

Please sign in to comment.