diff options
| author | Luc Donnet | 2015-05-18 16:53:04 +0200 | 
|---|---|---|
| committer | Luc Donnet | 2015-05-18 16:53:04 +0200 | 
| commit | 8199c5d98595aa71f0305a3e033ca7f5a209fefe (patch) | |
| tree | 18ed5c84b115f19a8d4a6da09909790ddf134cdb /app/models/import.rb | |
| parent | b3a4f0c5cde9427fafef30a56f8e016d40bad4fb (diff) | |
| download | chouette-core-8199c5d98595aa71f0305a3e033ca7f5a209fefe.tar.bz2 | |
Fix modules concern and export task validation
Diffstat (limited to 'app/models/import.rb')
| -rw-r--r-- | app/models/import.rb | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/import.rb b/app/models/import.rb index 2a3ee18db..77a566680 100644 --- a/app/models/import.rb +++ b/app/models/import.rb @@ -3,6 +3,10 @@ require 'open-uri'  class Import    include JobConcern +  def initialize( response ) +    @datas = response +  end +      def report?      links["action_report"].present?    end  | 
