app/controllers/faalis/dashboard/application_controller.rb in faalis-2.0.5 vs app/controllers/faalis/dashboard/application_controller.rb in faalis-2.0.7

- old
+ new

@@ -29,9 +29,11 @@ flash[:alert] = t('faalis.not_authorized') redirect_to new_user_session_path end def redirect_to_404(e) + logger.warn "Catch and ActiveRecord::RecordNotFoundL: '#{e}'" + respond_to do |f| f.html { redirect_to faalis.dashboard_not_found_url } f.js { render 'faalis/dashboard/not_found' } end end