This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'padrino-core' | |
class Questions < Padrino::Application | |
get '/*' do | |
redirect "http://padrinorb.com" | |
end | |
end | |
Questions.run! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/padrino-core/lib/padrino-core/application/routing.rb b/padrino-core/lib/padrino-core/application/routing.rb | |
index a978218..3ea7c25 100644 | |
--- a/padrino-core/lib/padrino-core/application/routing.rb | |
+++ b/padrino-core/lib/padrino-core/application/routing.rb | |
@@ -12,6 +12,8 @@ module Padrino | |
# to the url throughout the application. | |
# | |
module Routing | |
+ CONTENT_TYPE_ALIASES = {:htm => :html} | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcc -I. -I/usr/local/include/ruby-1.9.1/x86_64-darwin10.0.0 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DNDEBUG -DHAVE_RB_ENUMERATORIZE -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -pipe -o dict.o -c dict.c | |
gcc -I. -I/usr/local/include/ruby-1.9.1/x86_64-darwin10.0.0 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DNDEBUG -DHAVE_RB_ENUMERATORIZE -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wshorten-64-to-32 -pipe -o rbtree.o -c rbtree.c | |
rbtree.c: In function ‘value_eq’: | |
rbtree.c:430: warning: implicit conversion shortens 64-bit value into a 32-bit value | |
rbtree.c: In function ‘to_hash_i’: | |
rbtree.c:1062: warning: passing argument 1 of ‘rb_hash_tbl’ makes integer from poi |
NewerOlder