Browse files

Updating default URL

  • Loading branch information...
1 parent 8842703 commit c2edcddb9c60f7522cb904f42b0d8428fddc9325 Michael Bleigh committed Apr 24, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 ogit.rb
View
3 ogit.rb
@@ -1,3 +1,4 @@
+DEFAULT_URL = ENV['DEFAULT_URL'] || 'http://www.rottentomatoes.com/m/10011268-oceans/'
require 'rubygems'
require 'bundler'
@@ -6,7 +7,7 @@
set :root, File.dirname(__FILE__)
get '/' do
- @url = 'http://ogit.heroku.com'
+ @url = DEFAULT_URL
erb :home
end

0 comments on commit c2edcdd

Please sign in to comment.