app/services/model_controller/templates.rb in rademade_admin-0.1.5 vs app/services/model_controller/templates.rb in rademade_admin-0.1.6
- old
+ new
@@ -12,9 +12,10 @@
def form_template_path(real = false)
abstract_template((real ? '_' : '') + 'form')
end
def abstract_template(template)
+ # TODO make with rails native controller extending
if template_exists?(template, @template_service.template_path(native_template_folder))
folder = native_template_folder
else
folder = 'abstract'
end