Skip to content

Commit

Permalink
fix splat / 404 :/
Browse files Browse the repository at this point in the history
  • Loading branch information
TangentFoxy committed Jan 29, 2018
1 parent 338d88a commit c798c01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app.moon
Expand Up @@ -38,9 +38,9 @@ class extends lapis.Application
@title = @post.title
return render: "posts.view", content_type: "text/html; charset=utf-8"
else
return @default_route(@)
-- @title = "404"
-- return render: "404", status: 404
-- return @default_route(@)
@title = "404 - Not Found"
return render: "404", status: 404

-- Legacy redirects
"/submit": => redirect_to: @url_for "ksp_submit_crafts"
Expand Down

0 comments on commit c798c01

Please sign in to comment.