diff --git a/webapp/app.rb b/webapp/app.rb index 8d4f4b1..1868b78 100644 --- a/webapp/app.rb +++ b/webapp/app.rb @@ -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('/') diff --git a/webapp/views/abuse.haml b/webapp/views/abuse.haml new file mode 100644 index 0000000..db81e62 --- /dev/null +++ b/webapp/views/abuse.haml @@ -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.