title: How to use i18n translate method with Draper gem?
body: <p>I use Draper gem to decorate my models. Here I have pretty classic settings:</p>
  
  <pre><code># app/decorators/subject_decorator.rb
  class SubjectDecorator &lt; ApplicationDecorator
    decorates :subject
  
    def edit_link
      h.link_to(h.t('.edit'), '#')
    end
  end
  </code></pre>
  
  <p>I use i18n for internationalization. But when I run this, I get:</p>
  
  <pre><code>Cannot use t(".edit") shortcut because path is not available
  </code></pre>
  
  <p>So I was wondering if anyone has done this before? It should be pretty straight forward.</p>