harvard-lil / h2o

H2O is a web app for creating and reading open educational resources, primarily in the legal field
https://opencasebook.org
GNU Affero General Public License v3.0
37 stars 30 forks source link

Fix #1738 by calling method, not method name #1763

Closed lizadaly closed 2 years ago

lizadaly commented 2 years ago

See #1738 for details.

Without this, the "return to draft" button returns a URL like opencasebook.org/casebooks/1234/<bound method>. This fixes the issue.