Skip to content

Commit

Permalink
typo!
Browse files Browse the repository at this point in the history
  • Loading branch information
TangentFoxy committed Jan 6, 2018
1 parent bea1534 commit e09d3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/posts.moon
Expand Up @@ -91,7 +91,7 @@ class extends lapis.Application
if post.status != Posts.statuses.draft
return redirect_to: @url_for "posts_view", slug: post.slug
else
return redirect_to: url_for "posts_edit", id: post.id
return redirect_to: @url_for "posts_edit", id: post.id
else
@session.info = "Failed to create post. #{err}"
return redirect_to: @url_for "posts_new"
Expand Down

0 comments on commit e09d3ca

Please sign in to comment.