aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/api/task.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/lib/rails/api/task.rb b/railties/lib/rails/api/task.rb
index 81d6dea792..4f183c80c8 100644
--- a/railties/lib/rails/api/task.rb
+++ b/railties/lib/rails/api/task.rb
@@ -70,9 +70,8 @@ module Rails
options << '-m' << api_main
options << '-e' << 'UTF-8'
- configure_rdoc_files
-
before_running_rdoc do
+ configure_rdoc_files
load_and_configure_sdoc
setup_horo_variables
end