lib/rademade_admin/model/reflection/uploader.rb in rademade_admin-0.0.1 vs lib/rademade_admin/model/reflection/uploader.rb in rademade_admin-0.0.2

- old
+ new

@@ -1,18 +1,18 @@ +# -*- encoding : utf-8 -*- module RademadeAdmin module Model class Reflection module Uploader def uploaders @model.respond_to?(:uploaders) ? @model.uploaders : [] end - # todo move to module def uploader_fields @model.respond_to?(:uploaders) ? @model.uploaders.keys : [] end end end end -end \ No newline at end of file +end