Permalink
Browse files

fix #828\nSchema should never be empty anyway

  • Loading branch information...
bbenezech committed Nov 16, 2011
1 parent 5752282 commit e69dd5790cb3af083a4df461105c802771ced747
Showing with 0 additions and 2 deletions.
  1. +0 −2 app/controllers/rails_admin/main_controller.rb
@@ -38,8 +38,6 @@ def index
@objects ||= list_entries
- @schema ||= { :only => @model_config.list.visible_fields.map { |f| f.name } }
-
respond_to do |format|
format.html { render :layout => !request.xhr? }
format.json do

0 comments on commit e69dd57

Please sign in to comment.