lib/scaffolding_extensions.rb in scaffolding_extensions-1.5.5 vs lib/scaffolding_extensions.rb in scaffolding_extensions-1.6.0
- old
+ new
@@ -40,14 +40,15 @@
}
</style>
END
ROOT = File.dirname(File.dirname(__FILE__))
TEMPLATE_DIR = File.join(ROOT, "scaffolds")
+ DEFAULT_ACTION = :browse
DEFAULT_METHODS = [:manage, :show, :delete, :edit, :new, :search, :merge, :browse]
MODEL_SUPERCLASSES = []
@auto_complete_skip_style = false
-
+
class << self
attr_accessor :auto_complete_skip_style
attr_writer :all_models, :model_files
# Takes two options, :only and :except. If :only is given, :except is ignored. Either