Skip to content

Commit

Permalink
two additional url bluebird changes
Browse files Browse the repository at this point in the history
  • Loading branch information
5t33 committed Sep 4, 2022
1 parent dde1fe1 commit 9299175
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
migrate = Migrate(app, db, compare_type=True, render_as_batch=True)

login_manager = LoginManager(app)
login_manager.login_view = 'login'
login_manager.login_view = 'main.login'

babel = Babel(app)

Expand Down
2 changes: 1 addition & 1 deletion app/templates/macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
{% endmacro %}

{% macro recipe_url(recipe) %}
{{ url_for('recipe', id=recipe.id, name=recipe.name|slugify) }}
{{ url_for('main.recipe', id=recipe.id, name=recipe.name|slugify) }}
{% endmacro %}

0 comments on commit 9299175

Please sign in to comment.