Skip to content

Commit

Permalink
Merge pull request #838 from Leon0824/patch-3
Browse files Browse the repository at this point in the history
Add missing parenthesis
  • Loading branch information
josephmancuso committed Jul 17, 2019
2 parents 1a583b1 + 8f9e85d commit 2105f12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions masonite/snippets/scaffold/controller_resource.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@
def show(self):
"""Show a single resource listing
ex. Model.find('id')
Get().route("/show", {{ class }}
Get().route("/show", {{ class }})
"""

pass

def index(self):
"""Show several resource listings
ex. Model.all()
Get().route("/index", {{ class }}
Get().route("/index", {{ class }})
"""

pass

def create(self):
"""Show form to create new resource listings
ex. Get().route("/create", {{ class }}
ex. Get().route("/create", {{ class }})
"""

pass
Expand Down

0 comments on commit 2105f12

Please sign in to comment.