evilmartians/keynote

Feature request: allow to pass a block to `present` helper

Closed this issue · 1 comments

Please consider the following usage scenario:

<% present(current_user) do |user| %>
  <%= user.link_to_profile %>
<% end %>

I've taken this trick from The Rails View book and been using it in my homemade presenters. What do you think?

rf- commented

Sure, I don't see why not.