mirror of https://github.com/codevalet/codevalet
Add a simple /abuse URl for redirects
This commit is contained in:
parent
0e8dde9480
commit
a2131dddd8
|
@ -67,6 +67,10 @@ module CodeValet
|
|||
haml :doc, :layout => :_base
|
||||
end
|
||||
|
||||
get '/abuse' do
|
||||
haml :abuse, :layout => :_base
|
||||
end
|
||||
|
||||
get '/profile' do
|
||||
unless env['warden'].user
|
||||
redirect to('/')
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
.container
|
||||
.col-md-10
|
||||
.row
|
||||
%h2
|
||||
Whoa there pal!
|
||||
.container
|
||||
.row
|
||||
%p
|
||||
If you have been redirected this page, it may be because you have
|
||||
attempted to access a URL within Code Valet which has been
|
||||
discontinued.
|
||||
%p
|
||||
Sorry about that, there are only so many bananas to go around.
|
Loading…
Reference in New Issue