Skip to content

Commit

Permalink
Revert previous block fix
Browse files Browse the repository at this point in the history
  • Loading branch information
denny committed Oct 16, 2024
1 parent 425c461 commit 259e49a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
module ShinyCMS
# Helper method for rendering view components
module ViewComponentHelper
def component( name, **args, & )
def component( name, **args, &block )
# Use this:
# <%= component 'users/name_with_link', user: comment.author %>
# To do this:

0 comments on commit 259e49a

Please sign in to comment.