ownadi opened this issue 10 years ago · 1 comments
What's the curly way to use rails url helpers?
You would call the url helper directly from the presenter, i.e.
<p>Please {{sign_in_link}}</p>
class SomePresenter < Curly::Presenter def sign_in_link link_to "Sign in", sign_in_path end end