Skip to content

Commit

Permalink
Fix incorrect resource pluralization in NewPage
Browse files Browse the repository at this point in the history
Closes #1055
  • Loading branch information
paulcsmith committed Mar 20, 2020
1 parent 47380a4 commit c641406
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class <%= pluralized_name %>::NewPage < MainLayout
needs operation : <%= operation_class %>
quick_def page_title, "New <%= pluralized_name %>"
quick_def page_title, "New <%= resource %>"

def content
h1 "New <%= pluralized_name %>"
h1 "New <%= resource %>"
render_<%= underscored_resource %>_form(@operation)
end

Expand Down

0 comments on commit c641406

Please sign in to comment.