Skip to content

Commit

Permalink
Better title
Browse files Browse the repository at this point in the history
  • Loading branch information
pikesley committed Sep 6, 2016
1 parent 61ec827 commit 316c866
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/uncle_clive.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ class App < Sinatra::Base

respond_to do |wants|
wants.html do
@content = '<h1>Hello from UncleClive</h1>'
@title = 'UncleClive'
@title = '© 1982 Sinclair Research Ltd.'
@github_url = CONFIG['github_url']
erb :index, layout: :default
end
Expand All @@ -30,7 +29,7 @@ class App < Sinatra::Base

get '/:text' do
headers( 'Access-Control-Allow-Origin' => '*' )

respond_to do |wants|
wants.json do
Nineteen::Eighty::Two::Formats::JSON.format params[:text]
Expand Down

0 comments on commit 316c866

Please sign in to comment.