All pastes #424619 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-04-04 22:27 UTC
rendered paste body
# installeren
rails fcktest
cd fcktest
ruby script/plugin install http://svn.rails-engines.org/plugins/engines
ruby script/plugin install http://svn.underpantsgnome.com/fckeditor_on_rails
ruby script/generate controller bla

# app/controllers/bla_controller.rb
class BlaController < ApplicationController
  helper :fckeditor

  def index
  end
end

# view jatten uit de plugin
cd fcktest/app/views/bla
cp ../../../vendor/plugins/fckeditor_on_rails/app/views/fckeditor/index.rhtml .

# ga naar http://localhost:3000/bla et voila