mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixed association picture reference
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1264 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
2bf223051e
commit
b921b5da15
2 changed files with 8 additions and 2 deletions
|
@ -60,6 +60,12 @@ Rake::RDocTask.new { |rdoc|
|
|||
rdoc.rdoc_files.include('dev-utils/*.rb')
|
||||
}
|
||||
|
||||
# Enhance rdoc task to copy referenced images also
|
||||
task :rdoc do
|
||||
FileUtils.mkdir_p "doc/files/examples/"
|
||||
FileUtils.copy "examples/associations.png", "doc/files/examples/associations.png"
|
||||
end
|
||||
|
||||
|
||||
# Create compressed packages
|
||||
|
||||
|
@ -252,4 +258,4 @@ task :release => [:package] do
|
|||
first_file = false
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -43,7 +43,7 @@ module ActiveRecord
|
|||
#
|
||||
# == Example
|
||||
#
|
||||
# link:../../examples/associations.png
|
||||
# link:files/examples/associations.png
|
||||
#
|
||||
# == Is it belongs_to or has_one?
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue