From ec895167c2981d3d7a767d9bd36cf851e4e6fd16 Mon Sep 17 00:00:00 2001 From: yui-knk Date: Sat, 7 Mar 2015 16:50:27 +0900 Subject: Fix place of require 'rails_guides/markdown' --- guides/rails_guides.rb | 1 - guides/rails_guides/generator.rb | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'guides') diff --git a/guides/rails_guides.rb b/guides/rails_guides.rb index 762ab1c0e2..f184cff3e8 100644 --- a/guides/rails_guides.rb +++ b/guides/rails_guides.rb @@ -58,6 +58,5 @@ ERROR exit 1 end -require 'rails_guides/markdown' require "rails_guides/generator" RailsGuides::Generator.new.generate diff --git a/guides/rails_guides/generator.rb b/guides/rails_guides/generator.rb index aa900454c8..43f6f7eecf 100644 --- a/guides/rails_guides/generator.rb +++ b/guides/rails_guides/generator.rb @@ -57,6 +57,7 @@ require 'active_support/core_ext/object/blank' require 'action_controller' require 'action_view' +require 'rails_guides/markdown' require 'rails_guides/indexer' require 'rails_guides/helpers' require 'rails_guides/levenshtein' -- cgit v1.2.3