lipsiadmin_generators/backend/templates/controllers/javascripts_controller.rb in lipsiadmin-4.1.8 vs lipsiadmin_generators/backend/templates/controllers/javascripts_controller.rb in lipsiadmin-5.0.0

- old
+ new

@@ -2,10 +2,10 @@ helper Lipsiadmin::View::Helpers::BackendHelper def backend respond_to do |format| format.html { render :text => "Resource is not available, regardless of authorization. Often the result of bad file or directory permissions on the server. ", :status => '403 Forbidden' } - format.js { @panels = [] } + format.js end end def locale respond_to do |format| \ No newline at end of file