Permalink
Browse files

Making the ckeditor task name more suitable for rails admin

  • Loading branch information...
1 parent 0df3d6e commit 6cdf0689d52714f9040395b6e7d8e11b2a1e5279 @akitaonrails committed Dec 25, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 README.mkd
  2. +2 −2 lib/tasks/download.rake
View
@@ -50,7 +50,7 @@ to override the default with a Member model run:
If you want to use the CKEditor, you need to [download it](http://ckeditor.com/download) from source
and unpack the 'ckeditor' folder into your default 'public/javascripts' folder. If you're using any
non-Windows system, you can try to use the automatic downloader:
- $ rake ckeditor:download
+ $ rake admin:ckeditor_download
Usage
-----
View
@@ -1,6 +1,6 @@
-namespace :ckeditor do
+namespace :admin do
desc "Download CKEditor to your public javascript folder"
- task :download do
+ task :ckeditor_download do
require 'fileutils'
ckeditor_url = "http://download.cksource.com/CKEditor/CKEditor/CKEditor%203.5/ckeditor_3.5.tar.gz"
ckeditor_file = "/tmp/ckeditor_3.5.tar.gz"

0 comments on commit 6cdf068

Please sign in to comment.