lib/engine2/models/Files.rb in engine2-1.0.8 vs lib/engine2/models/Files.rb in engine2-1.0.9
- old
+ new
@@ -12,9 +12,11 @@
DateTime :uploaded, null: false
end unless E2DB.table_exists?(:files)
class E2Files < Sequel::Model(E2DB[:files])
extend Engine2::Model
+ model_icon :'file'
+ model_route :E2Files
type_info do
# list_select :model, Hash[@model.db.models.keys.map{|m| [m, m]}]
# list_select :field, {}
end
\ No newline at end of file