aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/imports_controller.rb
diff options
context:
space:
mode:
authorZakaria BOUZIANE2015-05-06 10:38:34 +0200
committerZakaria BOUZIANE2015-05-06 10:38:34 +0200
commited6fd2af69ebecb8d6af496135f1398ef6332b06 (patch)
tree6e69aa36cd98edad74091aea3916ec0b445872ae /app/controllers/imports_controller.rb
parent1f9feab16cc9d7722be1ed0c495c7eeba555ab9a (diff)
downloadchouette-core-ed6fd2af69ebecb8d6af496135f1398ef6332b06.tar.bz2
Showing validation of imports (still css to fix)
Diffstat (limited to 'app/controllers/imports_controller.rb')
-rw-r--r--app/controllers/imports_controller.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/controllers/imports_controller.rb b/app/controllers/imports_controller.rb
index ae0ac063b..752c08f5b 100644
--- a/app/controllers/imports_controller.rb
+++ b/app/controllers/imports_controller.rb
@@ -5,8 +5,8 @@ require 'open-uri'
class ImportsController < ChouetteController
defaults :resource_class => Import
- respond_to :html, :only => [:show, :index, :destroy, :imported_file, :rule_parameter_set]
- respond_to :js, :only => [:show, :index]
+ respond_to :html, :only => [:show, :index, :destroy, :imported_file, :rule_parameter_set, :compliance_check]
+ respond_to :js, :only => [:show, :index, :compliance_check]
belongs_to :referential
def index
@@ -69,7 +69,6 @@ class ImportsController < ChouetteController
begin
build_breadcrumb :show
@import = resource
- #@compliance_check = ComplianceCheck.new @import.datas
render "compliance_checks/show"
rescue Ievkit::Error => error
logger.error("Iev failure : #{error.message}")