app/controllers/admin/base_controller.rb in fullstack-admin-0.2.17 vs app/controllers/admin/base_controller.rb in fullstack-admin-0.2.18
- old
+ new
@@ -49,10 +49,10 @@
instance_variable_get("@#{collection_name}")
end
def title_column(model)
@_title_columns ||= {}
- @_title_columns[model] ||= ( model.column_names.map{ |c| c.to_s } & %W(title name label browser_title seo_title seo_name key claim email) ).first
+ @_title_columns[model] ||= ( model.column_names.map{ |c| c.to_s } & %W(title name label browser_title seo_title seo_name key claim email kind) ).first
end
def fetch_current_resource
return if !params[:id] || current_resource
instance_variable_set("@#{resource_name}", current_resource_class.find(params[:id]))
\ No newline at end of file