Map is for real men. #10

Merged
merged 1 commit into from Apr 28, 2012
+1 −1
Split
View
@@ -1,4 +1,4 @@
-%w(action_controller/railtie coderay).each &method(:require)
+%w(action_controller/railtie coderay).map &method(:require)
run TheSmallestRailsApp ||= Class.new(Rails::Application) {
config.secret_token = routes.append { root to: 'hello#world' }.inspect