Sha256: eed1382f3fa479eed461f79a43a22bacbce18aa01429e41777300cba654823ee
Contents?: true
Size: 233 Bytes
Versions: 6
Compression:
Stored size: 233 Bytes
Contents
module SimpleAuthHelper # Renders the specified block for logged users. # # <% when_logged do %> # <!-- content for logged users --> # <% end %> def when_logged(&block) capture(&block) if logged_in? end end
Version data entries
6 entries across 6 versions & 1 rubygems