Revert "rails admin is conflicting with client side validations: see https://github.com/sferik/rails_admin/issues/985"
This reverts commit b70165b97f.
This commit is contained in:
parent
b70165b97f
commit
61f40fc6bf
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
# the COPYRIGHT file.
|
||||
|
||||
Diaspora::Application.routes.draw do
|
||||
if Rails.env.production? && !ENV['RAILS_ADMIN']
|
||||
if Rails.env.production?
|
||||
mount RailsAdmin::Engine => '/admin_panel', :as => 'rails_admin'
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue