From 13c9195b12e2a6c87056d24968f092ba97e14364 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Mon, 18 Feb 2013 16:20:04 -0800 Subject: use strip_heredoc to keep indentation consistent. Thanks @sikachu. :heart: --- .../lib/action_dispatch/routing/inspector.rb | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'actionpack/lib/action_dispatch/routing/inspector.rb') diff --git a/actionpack/lib/action_dispatch/routing/inspector.rb b/actionpack/lib/action_dispatch/routing/inspector.rb index d55c73269c..9ac8f97b74 100644 --- a/actionpack/lib/action_dispatch/routing/inspector.rb +++ b/actionpack/lib/action_dispatch/routing/inspector.rb @@ -167,13 +167,13 @@ module ActionDispatch end def no_routes - @buffer << <<-MESSAGE -You don't have any routes defined! + @buffer << <<-MESSAGE.strip_heredoc + You don't have any routes defined! -Please add some routes in config/routes.rb. + Please add some routes in config/routes.rb. -For more information about routes, see the Rails Guide: http://guides.rubyonrails.org/routing.html . -MESSAGE + For more information about routes, see the Rails Guide: http://guides.rubyonrails.org/routing.html . + MESSAGE end private @@ -213,13 +213,13 @@ MESSAGE end def no_routes - @buffer << <<-MESSAGE -

You don't have any routes defined!

- -MESSAGE + @buffer << <<-MESSAGE.strip_heredoc +

You don't have any routes defined!

+ + MESSAGE end def result -- cgit v1.2.3