Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 17 lines (13 sloc) 621 Bytes
# Make sure that ActiveScaffold has already been included
ActiveScaffold rescue throw "should have included ActiveScaffold plug in first. Please make sure that this overwrite plugging comes alphabetically after the ActiveScaffold plug in"
# Load our overrides
require "#{File.dirname(__FILE__)}/lib/config/reorder.rb"
require "#{File.dirname(__FILE__)}/lib/actions/reorder.rb"
require "#{File.dirname(__FILE__)}/lib/helpers/view_helpers.rb"
ActiveScaffold.set_defaults do |config|
config.actions.add :reorder
end
##
## Run the install script, too, just to make sure
##
require File.dirname(__FILE__) + '/install'