lib/kitsune.rb in kitsune-0.0.8 vs lib/kitsune.rb in kitsune-0.0.9
- old
+ new
@@ -6,23 +6,23 @@
autoload :FauxColumn, 'kitsune/faux_column'
autoload :Inspector, 'kitsune/inspector'
autoload :Page, 'kitsune/page'
class << self
def version
- '0.0.8'
+ '0.0.9'
end
def model_paths # abstract this to something else
@models_paths ||= ["#{RAILS_ROOT}/app/models"]
end
def model_paths=(paths)
@model_paths = paths
end
- def model_paths<<(path)
- @model_paths << path
- end
+ # def model_paths<<(path)
+ # @model_paths << path
+ # end
def models_with_admin
models.select{|m| m.respond_to?(:kitsune_admin) && !m.kitsune_admin[:no_admin]} # quacks like a duck
end
\ No newline at end of file