Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
pikesley committed Oct 8, 2016
1 parent 798f9ec commit cfd229d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 26 deletions.
8 changes: 4 additions & 4 deletions lib/wen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class App < Sinatra::Base
respond_to do |wants|
wants.html do
@title = 'Colours'
erb :'colours/spectrum', layout: :default
erb :'colours/d3', layout: :default
end
end
end
Expand All @@ -80,13 +80,13 @@ class App < Sinatra::Base
end
end

get '/colours/d3' do
get '/colours/spectrum' do
headers 'Vary' => 'Accept'

respond_to do |wants|
wants.html do
@title = 'Colours » d3 mode'
erb :'colours/d3', layout: :default
@title = 'Colours » Spectrum mode'
erb :'colours/spectrum', layout: :default
end
end
end
Expand Down
22 changes: 0 additions & 22 deletions views/colours/wtf.erb

This file was deleted.

0 comments on commit cfd229d

Please sign in to comment.