apidae 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -20
  3. data/README.rdoc +2 -2
  4. data/Rakefile +38 -38
  5. data/app/assets/images/apidae/logo-apidae-grey.svg +84 -84
  6. data/app/assets/javascripts/apidae/application.js +13 -13
  7. data/app/assets/stylesheets/apidae/application.css +15 -15
  8. data/app/controllers/apidae/api_controller.rb +25 -25
  9. data/app/controllers/apidae/application_controller.rb +6 -6
  10. data/app/controllers/apidae/dashboard_controller.rb +13 -13
  11. data/app/controllers/apidae/import_controller.rb +68 -68
  12. data/app/controllers/apidae/objects_controller.rb +59 -59
  13. data/app/controllers/apidae/projects_controller.rb +35 -35
  14. data/app/controllers/apidae/references_controller.rb +9 -9
  15. data/app/controllers/apidae/selections_controller.rb +53 -53
  16. data/app/helpers/apidae/api_helper.rb +4 -4
  17. data/app/helpers/apidae/application_helper.rb +4 -4
  18. data/app/helpers/apidae/dashboard_helper.rb +4 -4
  19. data/app/helpers/apidae/import_helper.rb +4 -4
  20. data/app/helpers/apidae/objects_helper.rb +4 -4
  21. data/app/helpers/apidae/references_helper.rb +4 -4
  22. data/app/helpers/apidae/selections_helper.rb +4 -4
  23. data/app/models/apidae/application_record.rb +5 -5
  24. data/app/models/apidae/export.rb +13 -13
  25. data/app/models/apidae/file_import.rb +161 -161
  26. data/app/models/apidae/obj.rb +351 -351
  27. data/app/models/apidae/project.rb +4 -4
  28. data/app/models/apidae/reference.rb +45 -45
  29. data/app/models/apidae/selection.rb +160 -160
  30. data/app/models/apidae/selection_object.rb +6 -6
  31. data/app/models/apidae/town.rb +28 -27
  32. data/app/views/apidae/dashboard/index.html.erb +41 -41
  33. data/app/views/apidae/import/callback.html.erb +2 -2
  34. data/app/views/apidae/objects/_form.html.erb +73 -73
  35. data/app/views/apidae/objects/edit.html.erb +6 -6
  36. data/app/views/apidae/objects/index.html.erb +34 -34
  37. data/app/views/apidae/objects/index.json.jbuilder +6 -6
  38. data/app/views/apidae/objects/new.html.erb +5 -5
  39. data/app/views/apidae/objects/show.html.erb +74 -74
  40. data/app/views/apidae/projects/edit.html.erb +32 -32
  41. data/app/views/apidae/projects/index.html.erb +34 -34
  42. data/app/views/apidae/references/index.html.erb +34 -34
  43. data/app/views/apidae/selections/_form.html.erb +29 -29
  44. data/app/views/apidae/selections/edit.html.erb +6 -6
  45. data/app/views/apidae/selections/index.html.erb +34 -34
  46. data/app/views/apidae/selections/new.html.erb +5 -5
  47. data/app/views/apidae/selections/show.html.erb +19 -19
  48. data/app/views/layouts/apidae/application.html.erb +14 -14
  49. data/config/locales/apidae.fr.yml +6 -6
  50. data/config/routes.rb +14 -14
  51. data/db/migrate/20170512212941_create_apidae_selections.rb +11 -11
  52. data/db/migrate/20170512214641_create_apidae_objects.rb +22 -22
  53. data/db/migrate/20170512221525_create_apidae_objects_apidae_selections.rb +8 -8
  54. data/db/migrate/20170513114002_create_apidae_towns.rb +15 -15
  55. data/db/migrate/20170513114409_add_town_insee_code_to_objects.rb +5 -5
  56. data/db/migrate/20170513115401_add_pictures_data_to_objects.rb +5 -5
  57. data/db/migrate/20170513121215_create_apidae_attached_files.rb +13 -13
  58. data/db/migrate/20170513205932_rename_objects_selections_table.rb +5 -5
  59. data/db/migrate/20170720161134_add_entity_data_to_objects.rb +5 -5
  60. data/db/migrate/20170730102424_create_apidae_file_imports.rb +13 -13
  61. data/db/migrate/20171025075304_create_apidae_exports.rb +15 -15
  62. data/db/migrate/20180217222410_create_apidae_selection_objects.rb +10 -10
  63. data/db/migrate/20180218172704_change_text_columns_to_json.rb +10 -10
  64. data/db/migrate/20180218231319_add_service_data_to_apidae_objects.rb +5 -5
  65. data/db/migrate/20180222104915_add_rates_data_to_apidae_objects.rb +6 -6
  66. data/db/migrate/20180222105302_rename_openings_to_openings_data.rb +5 -5
  67. data/db/migrate/20180307164936_add_attachments_data_to_apidae_objects.rb +5 -5
  68. data/db/migrate/20180307170349_create_apidae_references.rb +12 -12
  69. data/db/migrate/20180314093512_add_tags_data_to_apidae_objects.rb +5 -5
  70. data/db/migrate/20180314132631_add_meta_data_to_apidae_objects.rb +5 -5
  71. data/db/migrate/20180319143954_remove_apidae_id_unicity.rb +6 -6
  72. data/db/migrate/20180417164604_add_location_data_to_apidae_objects.rb +5 -5
  73. data/db/migrate/20180417165744_remove_address_from_apidae_objects.rb +5 -5
  74. data/db/migrate/20180417171344_remove_lat_lng_from_apidae_objects.rb +6 -6
  75. data/db/migrate/20180418141248_add_description_data_to_apidae_objects.rb +5 -5
  76. data/db/migrate/20180418141305_remove_desc_columns_from_apidae_objects.rb +6 -6
  77. data/db/migrate/20180424141656_add_meta_data_to_apidae_references.rb +5 -5
  78. data/db/migrate/20180519170210_remove_insee_code_unicity.rb +7 -7
  79. data/db/migrate/20180521211735_destroy_attached_files.rb +5 -5
  80. data/db/migrate/20180625050400_rename_objects_to_obj.rb +5 -5
  81. data/db/migrate/20181024072424_add_project_id_to_selections.rb +5 -5
  82. data/db/migrate/20181024072843_create_apidae_projects.rb +10 -10
  83. data/db/migrate/20190328122424_add_description_to_apidae_towns.rb +5 -0
  84. data/lib/apidae.rb +4 -4
  85. data/lib/apidae/engine.rb +10 -10
  86. data/lib/apidae/version.rb +3 -3
  87. data/lib/tasks/apidae_tasks.rake +4 -4
  88. data/test/apidae_test.rb +7 -7
  89. data/test/controllers/apidae/api_controller_test.rb +23 -23
  90. data/test/controllers/apidae/dashboard_controller_test.rb +15 -15
  91. data/test/controllers/apidae/import_controller_test.rb +15 -15
  92. data/test/controllers/apidae/objects_controller_test.rb +52 -52
  93. data/test/controllers/apidae/references_controller_test.rb +13 -13
  94. data/test/controllers/apidae/selections_controller_test.rb +52 -52
  95. data/test/data/selections.json +14 -14
  96. data/test/data/structure.json +64 -64
  97. data/test/data/update_selections.json +18 -18
  98. data/test/dummy/README.rdoc +28 -28
  99. data/test/dummy/Rakefile +6 -6
  100. data/test/dummy/app/assets/javascripts/application.js +13 -13
  101. data/test/dummy/app/assets/stylesheets/application.css +15 -15
  102. data/test/dummy/app/controllers/application_controller.rb +5 -5
  103. data/test/dummy/app/helpers/application_helper.rb +2 -2
  104. data/test/dummy/app/views/layouts/application.html.erb +14 -14
  105. data/test/dummy/bin/bundle +3 -3
  106. data/test/dummy/bin/rails +4 -4
  107. data/test/dummy/bin/rake +4 -4
  108. data/test/dummy/bin/setup +29 -29
  109. data/test/dummy/config.ru +4 -4
  110. data/test/dummy/config/application.rb +24 -24
  111. data/test/dummy/config/boot.rb +5 -5
  112. data/test/dummy/config/database.yml +20 -20
  113. data/test/dummy/config/environment.rb +5 -5
  114. data/test/dummy/config/environments/development.rb +41 -41
  115. data/test/dummy/config/environments/production.rb +79 -79
  116. data/test/dummy/config/environments/test.rb +42 -42
  117. data/test/dummy/config/initializers/apidae.rb +18 -18
  118. data/test/dummy/config/initializers/assets.rb +11 -11
  119. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -7
  120. data/test/dummy/config/initializers/cookies_serializer.rb +3 -3
  121. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -4
  122. data/test/dummy/config/initializers/inflections.rb +16 -16
  123. data/test/dummy/config/initializers/mime_types.rb +4 -4
  124. data/test/dummy/config/initializers/session_store.rb +3 -3
  125. data/test/dummy/config/initializers/to_time_preserves_timezone.rb +10 -10
  126. data/test/dummy/config/initializers/wrap_parameters.rb +14 -14
  127. data/test/dummy/config/locales/en.yml +23 -23
  128. data/test/dummy/config/routes.rb +4 -4
  129. data/test/dummy/config/secrets.yml +22 -22
  130. data/test/dummy/db/schema.rb +104 -104
  131. data/test/dummy/public/404.html +67 -67
  132. data/test/dummy/public/422.html +67 -67
  133. data/test/dummy/public/500.html +66 -66
  134. data/test/fixtures/apidae/exports.yml +15 -15
  135. data/test/fixtures/apidae/objects.yml +33 -33
  136. data/test/fixtures/apidae/references.yml +11 -11
  137. data/test/fixtures/apidae/selection_objects.yml +9 -9
  138. data/test/fixtures/apidae/selections.yml +11 -11
  139. data/test/fixtures/apidae/towns.yml +15 -15
  140. data/test/integration/navigation_test.rb +8 -8
  141. data/test/models/apidae/export_test.rb +9 -9
  142. data/test/models/apidae/file_import_test.rb +88 -88
  143. data/test/models/apidae/object_test.rb +9 -9
  144. data/test/models/apidae/reference_test.rb +9 -9
  145. data/test/models/apidae/selection_object_test.rb +9 -9
  146. data/test/models/apidae/selection_test.rb +9 -9
  147. data/test/models/apidae/town_test.rb +9 -9
  148. data/test/test_helper.rb +22 -22
  149. metadata +49 -50
  150. data/test/dummy/log/test.log +0 -2109
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b0529a993309d99d2fafab56c94ce5b6073a9b1
4
- data.tar.gz: 5ac6e6dc4a73eaec3932ac77e0ae3edf32778753
3
+ metadata.gz: 62f137460b30458d34e95ad6136947390b49c216
4
+ data.tar.gz: 967cc083e27039454351b7ee5130cd2cf60ec70a
5
5
  SHA512:
6
- metadata.gz: 4c9fed6573fac44f114709aa6473ed5e07d76768a1d732b08bde8c721e5bcdee6c8ae58a20aa3eb9cb02a9419268d1727651c8fb4e50def3f78847da92f5b22e
7
- data.tar.gz: c5bd764ca01e276c998cace42068d71f3e2fbdcff2cb1ba5ef09e174f5aa2c4775e45a1a61ef19b4ddbddd54bb02cd0c23af9d7886043bdbe9c492a7bce477b8
6
+ metadata.gz: 149cbbbbbcd05aea7af65684859a0f730f39a48d10a6de34aca699cfd5c919963ebf6ddb865ed83065034a6a9d4e862db5fec17bfb886984be354100e6ce46d6
7
+ data.tar.gz: 04d5ac8afa3619d621aaf8680980927bbbe38af521371bdbd6ebb77f9de425fe64cd9378ad493529c2d5c243dea02fd7fa89b9761f2f839c6b8244808a46790f
@@ -1,20 +1,20 @@
1
- Copyright 2017 Jean-Baptiste Vilain
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ Copyright 2017 Jean-Baptiste Vilain
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,3 +1,3 @@
1
- = Apidae Engine Rails
2
-
1
+ = Apidae Engine Rails
2
+
3
3
  This project rocks and uses MIT-LICENSE.
data/Rakefile CHANGED
@@ -1,38 +1,38 @@
1
- begin
2
- require 'bundler/setup'
3
- rescue LoadError
4
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
- end
6
-
7
- require 'rdoc/task'
8
-
9
- RDoc::Task.new(:rdoc) do |rdoc|
10
- rdoc.rdoc_dir = 'rdoc'
11
- rdoc.title = 'Apidae'
12
- rdoc.options << '--line-numbers'
13
- rdoc.rdoc_files.include('README.rdoc')
14
- rdoc.rdoc_files.include('lib/**/*.rb')
15
- end
16
-
17
- APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
18
- load 'rails/tasks/engine.rake'
19
-
20
-
21
- load 'rails/tasks/statistics.rake'
22
-
23
-
24
-
25
- Bundler::GemHelper.install_tasks
26
-
27
- # Note : where should engine-related test dependencies go ?
28
- require 'rake/testtask'
29
-
30
- Rake::TestTask.new(:test) do |t|
31
- t.libs << 'lib'
32
- t.libs << 'test'
33
- t.pattern = 'test/**/*_test.rb'
34
- t.verbose = false
35
- end
36
-
37
-
38
- task default: :test
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ require 'rdoc/task'
8
+
9
+ RDoc::Task.new(:rdoc) do |rdoc|
10
+ rdoc.rdoc_dir = 'rdoc'
11
+ rdoc.title = 'Apidae'
12
+ rdoc.options << '--line-numbers'
13
+ rdoc.rdoc_files.include('README.rdoc')
14
+ rdoc.rdoc_files.include('lib/**/*.rb')
15
+ end
16
+
17
+ APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
18
+ load 'rails/tasks/engine.rake'
19
+
20
+
21
+ load 'rails/tasks/statistics.rake'
22
+
23
+
24
+
25
+ Bundler::GemHelper.install_tasks
26
+
27
+ # Note : where should engine-related test dependencies go ?
28
+ require 'rake/testtask'
29
+
30
+ Rake::TestTask.new(:test) do |t|
31
+ t.libs << 'lib'
32
+ t.libs << 'test'
33
+ t.pattern = 'test/**/*_test.rb'
34
+ t.verbose = false
35
+ end
36
+
37
+
38
+ task default: :test
@@ -1,84 +1,84 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
- <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
- viewBox="0 0 3000 1335" style="enable-background:new 0 0 3000 1335;" xml:space="preserve">
5
- <style type="text/css">
6
- .st0{fill:none;}
7
- .st1{fill:#D7D7D7;}
8
- .st2{fill:#B2B2B2;}
9
- .st3{fill:#999999;}
10
- .st4{fill:#C2C2C2;}
11
- .st5{fill:#8A8A8A;}
12
- .st6{fill:#9A9A9A;}
13
- .st7{fill:#9B9B9B;}
14
- .st8{fill:#656565;}
15
- .st9{fill:#FFFFFF;}
16
- .st10{fill:#DDDDDD;}
17
- .st11{fill:#A6A6A6;}
18
- .st12{fill:#CCCCCC;}
19
- .st13{fill:#C1C1C1;}
20
- .st14{fill:#808080;}
21
- .st15{fill:#777777;}
22
- </style>
23
- <title>Plan de travail 1</title>
24
- <path class="st0" d="M2519,501.1c16.9-40.8,24.8-83.6,27.7-122.7c-17.1,27.5-39.4,69.4-54.1,118.4L2519,501.1z"/>
25
- <path class="st0" d="M1973.6,424.3L1973.6,424.3c-1-1.3-2-2.5-3-3.8C1971.6,421.8,1972.6,423.1,1973.6,424.3z"/>
26
- <path class="st1" d="M1688.9,441h103.8v101.7l27.2-33.3c-0.2-0.5-0.5-1.1-0.7-1.6c-1.4-3.4-2.7-6.9-4-10.3c-0.3-0.8-0.6-1.5-0.8-2.3
27
- l-0.2-0.5c-22.4-63.1-19.3-130.1-9.4-184c-123-28.8-249.7,22-249.7,22s24.4,81.5,83.3,154.3v-46H1688.9z"/>
28
- <path class="st2" d="M1837.6,201.4c0,0-21.1,45.6-32.8,109.2l0,0l0,0c19.4,4.6,39.2,10.8,57.9,19.9c44.6,21.7,80.2,55,107.9,90
29
- c1,1.3,2,2.5,3,3.8l14.8,2.4c2-35.2,8.1-73.8,21.9-111.2C1936.8,237,1837.6,201.4,1837.6,201.4z"/>
30
- <path class="st3" d="M1970.6,420.6c-27.7-35-63.3-68.2-107.9-90c-18.7-9.1-38.5-15.3-57.9-19.9l0,0l-0.1,0.5
31
- c-10,54-12.8,120.5,9.5,183.5l0.2,0.5c0.3,0.8,0.6,1.5,0.8,2.3c1.3,3.6,2.7,7.1,4.2,10.6c0.2,0.4,0.4,0.8,0.5,1.2l70.7-86.6
32
- l8.6-10.6l13.4,2.2l60.9,9.9C1972.6,423.1,1971.6,421.8,1970.6,420.6z"/>
33
- <path class="st4" d="M2078.3,430.7L2187,298.5l8.6-10.5l13.4,2.2l98.1,16.3c24-103.5-0.2-203.8-0.2-203.8s-181.1,26.8-266.3,153.1
34
- c-12.5,18.6-22.7,38.7-30.3,59.8c23.4,25,44.2,54.3,58.4,88.2C2072.4,412.6,2075.6,421.6,2078.3,430.7z"/>
35
- <path class="st5" d="M2070.6,440.1l6.3-7.7l1.4-1.8c-2.7-9.1-5.9-18.1-9.6-26.9c-14.2-33.9-35-63.2-58.4-88.2
36
- c-13.8,37.4-19.9,76-21.9,111.2L2070.6,440.1z"/>
37
- <path class="st6" d="M2393.7,320.8l4.8,12.8l59.2,157.7l4.9,0.8l30.1,4.9c14.6-49,37-90.9,54.1-118.4c6.2-80.7-8.6-145.8-8.6-145.8
38
- s-109,14.7-202.7,78.5l44.9,7.5L2393.7,320.8z"/>
39
- <path class="st7" d="M2619,517.2c26.8-17.8,54.8-31.4,80.9-41.7c-53.3-82.1-129.3-132.1-129.3-132.1c-8.6,11.2-16.6,22.9-23.9,35
40
- c-3,39.1-10.9,81.8-27.7,122.7L2619,517.2z"/>
41
- <path class="st8" d="M2519,501.1c17.8-41.8,24.7-82.5,27.7-122.7c-17.1,27.5-39.4,69.4-54.1,118.4L2519,501.1L2519,501.1z"/>
42
- <polygon class="st9" points="2492.6,496.8 2492.6,496.9 2492.6,496.8 "/>
43
- <path class="st10" d="M2425.4,590l42.1-51.8l147,23.7l16.2,42.5c10.3,5.3,20.2,11.3,29.6,18l-30.4-79.6l-171.3-27.5l-77.3,95
44
- l0.1-0.1C2395.5,602.1,2410.2,595.3,2425.4,590z"/>
45
- <polygon class="st11" points="2119.4,451.5 2213.9,336.5 2360.8,360.8 2413.1,500.2 2318.6,615.2 2285.3,609.7 2285.3,631.3
46
- 2327.2,638.2 2437.4,504.2 2376.4,341.8 2205.3,313.5 2095.1,447.4 2147.4,586.8 2170.2,586.8 "/>
47
- <path class="st12" d="M1849.2,644l-25.8-68l94.2-115.3l147,23.9l39.6,104.3c9.2,3.2,18.2,7,26.8,11.4v-0.5l-50.9-134.1l-171.2-27.9
48
- l-109.7,134.3l33.7,89C1838.1,655.1,1843.5,649.4,1849.2,644z"/>
49
- <path class="st13" d="M2740.3,719c3,6.5,5.7,13.1,8.2,19.9c2.1,5.9,4,11.8,5.7,17.8c1.9-2.5,3.7-5,5.5-7.5
50
- c88-124.4,48.9-303.3,48.9-303.3s-49.2,6.2-108.8,29.7c22.3,34.4,40.7,74.5,47.8,119C2754.7,637.6,2750.2,680.2,2740.3,719z"/>
51
- <path class="st14" d="M2747.8,594.5c-7.1-44.4-25.5-84.5-47.8-119c-26.1,10.3-54.1,23.9-80.9,41.7l14.8,2.4l13.4,2.2l4.9,12.7
52
- l46.5,122c17,18.6,31.1,39.7,41.8,62.6C2750.2,680.2,2754.7,637.6,2747.8,594.5z"/>
53
- <path class="st15" d="M151.6,1023.7l221.9-531.5H431l219.8,531.5H586l-61.7-148.3H276.8l-61,148.3H151.6z M294.6,825.6h211.8
54
- L400.2,559.2L294.6,825.6z"/>
55
- <path class="st15" d="M708,1214.1V637.3h50.5v81.2c16.1-28.9,38-51.5,65.7-67.8c27.7-16.2,59.7-24.4,95.9-24.3
56
- c25.2,0,48.7,3.9,70.5,11.8c21.7,7.8,40.3,18.4,55.6,31.8c15.4,13.5,28.8,29.2,39.6,46.5c10.9,17.3,19.2,36.1,24.5,55.8
57
- c5.3,19.5,7.9,39.7,7.9,59.9c0.1,52.2-19.2,102.7-54,141.6c-16.8,18.5-37.7,33.3-62.8,44.3c-25,11-52.1,16.4-81.3,16.4
58
- c-19.6,0.1-39.2-2.7-58-8.2c-18.3-5.5-34-12.7-47-21.7c-12.1-8.3-23.2-17.9-33.1-28.7c-9.1-10.2-16-20.5-20.7-31v269.2L708,1214.1z
59
- M757.8,831.6c0,43.3,14.8,79.8,44.5,109.5c29.2,29.2,65.5,43.7,109,43.7c43.7,0,80.2-14.6,109.6-43.9c29.3-29.3,44-65.9,44-110
60
- v-0.7c0-18.7-3.3-37.2-9.8-54.7c-6.6-17.9-16.2-34.5-28.4-49.1c-12.4-14.9-28.7-27-48.9-36.2s-42.8-13.8-67.8-13.8
61
- c-42.5,0-78.9,15-109,45.1C772.2,751.5,757.8,788.2,757.8,831.6L757.8,831.6z"/>
62
- <path class="st15" d="M1198.8,566.2v-74h53.3v74H1198.8z M1198.8,1023.7V637.3h53.3v386.4L1198.8,1023.7z"/>
63
- <path class="st15" d="M1331.7,830.2c0-37.9,8.5-72.4,25.5-103.4c16.6-30.6,41.2-56,71.3-73.4c30.5-17.9,64.8-26.9,102.8-26.9
64
- c39,0,72.6,9.1,100.8,27.4s47.3,39,57.1,62.3V492.2h53.3v531.5h-51.2v-79.5c-14.5,27.1-35.9,49.7-62.2,65.7
65
- c-26.7,16.5-59.1,24.7-97.2,24.7c-30,0-57.8-5.6-83.3-16.8c-25.5-11.2-46.7-26.2-63.5-45c-17.1-19.1-30.5-41.1-39.4-65.1
66
- C1336.4,882.9,1331.6,856.6,1331.7,830.2z M1385,830.9c0.4,38.9,14.5,76.3,39.9,105.8c12.6,14.6,28.9,26.2,48.8,35
67
- c19.9,8.8,42.1,13.1,66.4,13.1c20.7,0.1,41.3-3.9,60.4-11.9c18.5-7.6,35.3-18.9,49.2-33.2c28.7-29.4,43.1-64.5,43.1-105.3v-5.6
68
- c0-43.1-14.8-79.2-44.5-108.1c-28.9-29.6-65.2-44.4-108.9-44.4c-44.4,0-81.2,14.8-110.5,44.3c-29.3,29.5-43.9,66.1-43.9,109.6
69
- L1385,830.9z"/>
70
- <path class="st15" d="M1822.5,830.9c0-37.7,8.4-72.1,25.3-103.1c16.9-31,40.8-55.7,71.7-73.9c30.9-18.2,65.5-27.4,104-27.4
71
- c38.5,0,71.9,9.3,100.1,27.9c28.2,18.6,47.5,40.2,57.8,64.9v-81.9h53.3v386.4h-53.3v-79.5c-15,28.7-36.3,51-64.1,66.7
72
- c-27.8,15.8-59.1,23.6-93.8,23.6c-24.7,0-47.7-3.7-69.2-11c-21.5-7.3-40.2-17.4-56.2-30.3c-15.9-12.8-29.8-27.9-41.2-44.8
73
- c-11.5-17.1-20.3-35.8-25.9-55.7C1825.4,872.7,1822.5,851.8,1822.5,830.9z M1875.8,831.6c0.3,18.3,3.6,36.4,10,53.5
74
- c6.5,17.7,15.9,34.3,27.8,49c12.2,15.2,28.4,27.4,48.7,36.7c20.3,9.3,43.2,14,68.6,14c33.2,0,61.9-8.6,86.3-25.7s42-39.8,52.7-68
75
- c8.6-18.2,12.9-38.5,12.9-60.9v-4.9c0.2-19.6-4-38.9-12.2-56.7c-11-27.5-29-49.8-53.9-66.8c-25-17-54-25.5-87.2-25.5
76
- c-44.1,0-80.8,14.9-110,44.8s-43.8,66.5-43.8,109.8L1875.8,831.6z"/>
77
- <path class="st15" d="M2307.4,831.2c0-37.4,8.8-71.7,26.5-103.1c17.3-30.9,42.6-56.6,73.3-74.3c31.2-18.2,65.7-27.4,103.6-27.3
78
- c26.5-0.1,52.9,4.7,77.7,14.2c23.8,9.1,45.6,22.8,64,40.5c21.8,20.9,38.5,46.6,48.7,75c8.2,22.4,12.4,46,12.6,69.8
79
- c0,6.6-0.3,13.1-1,19.6h-352c0.7,23.2,5.9,44.2,15.4,63.1s21.8,34,36.6,45.5c14.5,11.3,30.6,20.2,47.9,26.4
80
- c15.7,5.8,32.4,8.6,49.1,8.5h1.8c29.7,0,56.1-7,79.2-21.1c23.1-14.1,41-33.8,53.6-59.2h55.4c-17.5,41.1-43.7,72.6-78.5,94.3
81
- c-32.7,21-69.3,31.6-109.7,31.6c-25.9,0-50.1-4-72.6-11.9c-22.5-7.9-41.6-18.6-57.3-32.1c-15.7-13.4-29.4-29-40.7-46.3
82
- c-11.1-17-19.6-35.5-25.2-55C2310.2,870.4,2307.4,850.9,2307.4,831.2z M2361.4,803.2H2660c-1.9-34.7-17.4-65.5-46.6-92.3
83
- c-28.3-25.9-61-38.9-98.1-38.9h-3.9c-40.9,0-75.5,12.9-103.8,38.7C2379.3,736.4,2363.9,767.3,2361.4,803.2L2361.4,803.2z"/>
84
- </svg>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 3000 1335" style="enable-background:new 0 0 3000 1335;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:none;}
7
+ .st1{fill:#D7D7D7;}
8
+ .st2{fill:#B2B2B2;}
9
+ .st3{fill:#999999;}
10
+ .st4{fill:#C2C2C2;}
11
+ .st5{fill:#8A8A8A;}
12
+ .st6{fill:#9A9A9A;}
13
+ .st7{fill:#9B9B9B;}
14
+ .st8{fill:#656565;}
15
+ .st9{fill:#FFFFFF;}
16
+ .st10{fill:#DDDDDD;}
17
+ .st11{fill:#A6A6A6;}
18
+ .st12{fill:#CCCCCC;}
19
+ .st13{fill:#C1C1C1;}
20
+ .st14{fill:#808080;}
21
+ .st15{fill:#777777;}
22
+ </style>
23
+ <title>Plan de travail 1</title>
24
+ <path class="st0" d="M2519,501.1c16.9-40.8,24.8-83.6,27.7-122.7c-17.1,27.5-39.4,69.4-54.1,118.4L2519,501.1z"/>
25
+ <path class="st0" d="M1973.6,424.3L1973.6,424.3c-1-1.3-2-2.5-3-3.8C1971.6,421.8,1972.6,423.1,1973.6,424.3z"/>
26
+ <path class="st1" d="M1688.9,441h103.8v101.7l27.2-33.3c-0.2-0.5-0.5-1.1-0.7-1.6c-1.4-3.4-2.7-6.9-4-10.3c-0.3-0.8-0.6-1.5-0.8-2.3
27
+ l-0.2-0.5c-22.4-63.1-19.3-130.1-9.4-184c-123-28.8-249.7,22-249.7,22s24.4,81.5,83.3,154.3v-46H1688.9z"/>
28
+ <path class="st2" d="M1837.6,201.4c0,0-21.1,45.6-32.8,109.2l0,0l0,0c19.4,4.6,39.2,10.8,57.9,19.9c44.6,21.7,80.2,55,107.9,90
29
+ c1,1.3,2,2.5,3,3.8l14.8,2.4c2-35.2,8.1-73.8,21.9-111.2C1936.8,237,1837.6,201.4,1837.6,201.4z"/>
30
+ <path class="st3" d="M1970.6,420.6c-27.7-35-63.3-68.2-107.9-90c-18.7-9.1-38.5-15.3-57.9-19.9l0,0l-0.1,0.5
31
+ c-10,54-12.8,120.5,9.5,183.5l0.2,0.5c0.3,0.8,0.6,1.5,0.8,2.3c1.3,3.6,2.7,7.1,4.2,10.6c0.2,0.4,0.4,0.8,0.5,1.2l70.7-86.6
32
+ l8.6-10.6l13.4,2.2l60.9,9.9C1972.6,423.1,1971.6,421.8,1970.6,420.6z"/>
33
+ <path class="st4" d="M2078.3,430.7L2187,298.5l8.6-10.5l13.4,2.2l98.1,16.3c24-103.5-0.2-203.8-0.2-203.8s-181.1,26.8-266.3,153.1
34
+ c-12.5,18.6-22.7,38.7-30.3,59.8c23.4,25,44.2,54.3,58.4,88.2C2072.4,412.6,2075.6,421.6,2078.3,430.7z"/>
35
+ <path class="st5" d="M2070.6,440.1l6.3-7.7l1.4-1.8c-2.7-9.1-5.9-18.1-9.6-26.9c-14.2-33.9-35-63.2-58.4-88.2
36
+ c-13.8,37.4-19.9,76-21.9,111.2L2070.6,440.1z"/>
37
+ <path class="st6" d="M2393.7,320.8l4.8,12.8l59.2,157.7l4.9,0.8l30.1,4.9c14.6-49,37-90.9,54.1-118.4c6.2-80.7-8.6-145.8-8.6-145.8
38
+ s-109,14.7-202.7,78.5l44.9,7.5L2393.7,320.8z"/>
39
+ <path class="st7" d="M2619,517.2c26.8-17.8,54.8-31.4,80.9-41.7c-53.3-82.1-129.3-132.1-129.3-132.1c-8.6,11.2-16.6,22.9-23.9,35
40
+ c-3,39.1-10.9,81.8-27.7,122.7L2619,517.2z"/>
41
+ <path class="st8" d="M2519,501.1c17.8-41.8,24.7-82.5,27.7-122.7c-17.1,27.5-39.4,69.4-54.1,118.4L2519,501.1L2519,501.1z"/>
42
+ <polygon class="st9" points="2492.6,496.8 2492.6,496.9 2492.6,496.8 "/>
43
+ <path class="st10" d="M2425.4,590l42.1-51.8l147,23.7l16.2,42.5c10.3,5.3,20.2,11.3,29.6,18l-30.4-79.6l-171.3-27.5l-77.3,95
44
+ l0.1-0.1C2395.5,602.1,2410.2,595.3,2425.4,590z"/>
45
+ <polygon class="st11" points="2119.4,451.5 2213.9,336.5 2360.8,360.8 2413.1,500.2 2318.6,615.2 2285.3,609.7 2285.3,631.3
46
+ 2327.2,638.2 2437.4,504.2 2376.4,341.8 2205.3,313.5 2095.1,447.4 2147.4,586.8 2170.2,586.8 "/>
47
+ <path class="st12" d="M1849.2,644l-25.8-68l94.2-115.3l147,23.9l39.6,104.3c9.2,3.2,18.2,7,26.8,11.4v-0.5l-50.9-134.1l-171.2-27.9
48
+ l-109.7,134.3l33.7,89C1838.1,655.1,1843.5,649.4,1849.2,644z"/>
49
+ <path class="st13" d="M2740.3,719c3,6.5,5.7,13.1,8.2,19.9c2.1,5.9,4,11.8,5.7,17.8c1.9-2.5,3.7-5,5.5-7.5
50
+ c88-124.4,48.9-303.3,48.9-303.3s-49.2,6.2-108.8,29.7c22.3,34.4,40.7,74.5,47.8,119C2754.7,637.6,2750.2,680.2,2740.3,719z"/>
51
+ <path class="st14" d="M2747.8,594.5c-7.1-44.4-25.5-84.5-47.8-119c-26.1,10.3-54.1,23.9-80.9,41.7l14.8,2.4l13.4,2.2l4.9,12.7
52
+ l46.5,122c17,18.6,31.1,39.7,41.8,62.6C2750.2,680.2,2754.7,637.6,2747.8,594.5z"/>
53
+ <path class="st15" d="M151.6,1023.7l221.9-531.5H431l219.8,531.5H586l-61.7-148.3H276.8l-61,148.3H151.6z M294.6,825.6h211.8
54
+ L400.2,559.2L294.6,825.6z"/>
55
+ <path class="st15" d="M708,1214.1V637.3h50.5v81.2c16.1-28.9,38-51.5,65.7-67.8c27.7-16.2,59.7-24.4,95.9-24.3
56
+ c25.2,0,48.7,3.9,70.5,11.8c21.7,7.8,40.3,18.4,55.6,31.8c15.4,13.5,28.8,29.2,39.6,46.5c10.9,17.3,19.2,36.1,24.5,55.8
57
+ c5.3,19.5,7.9,39.7,7.9,59.9c0.1,52.2-19.2,102.7-54,141.6c-16.8,18.5-37.7,33.3-62.8,44.3c-25,11-52.1,16.4-81.3,16.4
58
+ c-19.6,0.1-39.2-2.7-58-8.2c-18.3-5.5-34-12.7-47-21.7c-12.1-8.3-23.2-17.9-33.1-28.7c-9.1-10.2-16-20.5-20.7-31v269.2L708,1214.1z
59
+ M757.8,831.6c0,43.3,14.8,79.8,44.5,109.5c29.2,29.2,65.5,43.7,109,43.7c43.7,0,80.2-14.6,109.6-43.9c29.3-29.3,44-65.9,44-110
60
+ v-0.7c0-18.7-3.3-37.2-9.8-54.7c-6.6-17.9-16.2-34.5-28.4-49.1c-12.4-14.9-28.7-27-48.9-36.2s-42.8-13.8-67.8-13.8
61
+ c-42.5,0-78.9,15-109,45.1C772.2,751.5,757.8,788.2,757.8,831.6L757.8,831.6z"/>
62
+ <path class="st15" d="M1198.8,566.2v-74h53.3v74H1198.8z M1198.8,1023.7V637.3h53.3v386.4L1198.8,1023.7z"/>
63
+ <path class="st15" d="M1331.7,830.2c0-37.9,8.5-72.4,25.5-103.4c16.6-30.6,41.2-56,71.3-73.4c30.5-17.9,64.8-26.9,102.8-26.9
64
+ c39,0,72.6,9.1,100.8,27.4s47.3,39,57.1,62.3V492.2h53.3v531.5h-51.2v-79.5c-14.5,27.1-35.9,49.7-62.2,65.7
65
+ c-26.7,16.5-59.1,24.7-97.2,24.7c-30,0-57.8-5.6-83.3-16.8c-25.5-11.2-46.7-26.2-63.5-45c-17.1-19.1-30.5-41.1-39.4-65.1
66
+ C1336.4,882.9,1331.6,856.6,1331.7,830.2z M1385,830.9c0.4,38.9,14.5,76.3,39.9,105.8c12.6,14.6,28.9,26.2,48.8,35
67
+ c19.9,8.8,42.1,13.1,66.4,13.1c20.7,0.1,41.3-3.9,60.4-11.9c18.5-7.6,35.3-18.9,49.2-33.2c28.7-29.4,43.1-64.5,43.1-105.3v-5.6
68
+ c0-43.1-14.8-79.2-44.5-108.1c-28.9-29.6-65.2-44.4-108.9-44.4c-44.4,0-81.2,14.8-110.5,44.3c-29.3,29.5-43.9,66.1-43.9,109.6
69
+ L1385,830.9z"/>
70
+ <path class="st15" d="M1822.5,830.9c0-37.7,8.4-72.1,25.3-103.1c16.9-31,40.8-55.7,71.7-73.9c30.9-18.2,65.5-27.4,104-27.4
71
+ c38.5,0,71.9,9.3,100.1,27.9c28.2,18.6,47.5,40.2,57.8,64.9v-81.9h53.3v386.4h-53.3v-79.5c-15,28.7-36.3,51-64.1,66.7
72
+ c-27.8,15.8-59.1,23.6-93.8,23.6c-24.7,0-47.7-3.7-69.2-11c-21.5-7.3-40.2-17.4-56.2-30.3c-15.9-12.8-29.8-27.9-41.2-44.8
73
+ c-11.5-17.1-20.3-35.8-25.9-55.7C1825.4,872.7,1822.5,851.8,1822.5,830.9z M1875.8,831.6c0.3,18.3,3.6,36.4,10,53.5
74
+ c6.5,17.7,15.9,34.3,27.8,49c12.2,15.2,28.4,27.4,48.7,36.7c20.3,9.3,43.2,14,68.6,14c33.2,0,61.9-8.6,86.3-25.7s42-39.8,52.7-68
75
+ c8.6-18.2,12.9-38.5,12.9-60.9v-4.9c0.2-19.6-4-38.9-12.2-56.7c-11-27.5-29-49.8-53.9-66.8c-25-17-54-25.5-87.2-25.5
76
+ c-44.1,0-80.8,14.9-110,44.8s-43.8,66.5-43.8,109.8L1875.8,831.6z"/>
77
+ <path class="st15" d="M2307.4,831.2c0-37.4,8.8-71.7,26.5-103.1c17.3-30.9,42.6-56.6,73.3-74.3c31.2-18.2,65.7-27.4,103.6-27.3
78
+ c26.5-0.1,52.9,4.7,77.7,14.2c23.8,9.1,45.6,22.8,64,40.5c21.8,20.9,38.5,46.6,48.7,75c8.2,22.4,12.4,46,12.6,69.8
79
+ c0,6.6-0.3,13.1-1,19.6h-352c0.7,23.2,5.9,44.2,15.4,63.1s21.8,34,36.6,45.5c14.5,11.3,30.6,20.2,47.9,26.4
80
+ c15.7,5.8,32.4,8.6,49.1,8.5h1.8c29.7,0,56.1-7,79.2-21.1c23.1-14.1,41-33.8,53.6-59.2h55.4c-17.5,41.1-43.7,72.6-78.5,94.3
81
+ c-32.7,21-69.3,31.6-109.7,31.6c-25.9,0-50.1-4-72.6-11.9c-22.5-7.9-41.6-18.6-57.3-32.1c-15.7-13.4-29.4-29-40.7-46.3
82
+ c-11.1-17-19.6-35.5-25.2-55C2310.2,870.4,2307.4,850.9,2307.4,831.2z M2361.4,803.2H2660c-1.9-34.7-17.4-65.5-46.6-92.3
83
+ c-28.3-25.9-61-38.9-98.1-38.9h-3.9c-40.9,0-75.5,12.9-103.8,38.7C2379.3,736.4,2363.9,767.3,2361.4,803.2L2361.4,803.2z"/>
84
+ </svg>
@@ -1,13 +1,13 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // compiled file.
9
- //
10
- // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
- // about supported directives.
12
- //
13
- //= require_tree .
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // compiled file.
9
+ //
10
+ // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
+ //
13
+ //= require_tree .
@@ -1,15 +1,15 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any styles
10
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
- * file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
15
- */
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
+ * compiled file so the styles you add here take precedence over styles defined in any styles
10
+ * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
+ * file per style scope.
12
+ *
13
+ *= require_tree .
14
+ *= require_self
15
+ */
@@ -1,25 +1,25 @@
1
- require_dependency "apidae/application_controller"
2
-
3
- module Apidae
4
- class ApiController < ApplicationController
5
-
6
- def selection
7
- @objects = []
8
- unless params[:selection_id].blank?
9
- objects_ids = Selection.find(params[:selection_id]).api_results[:results]
10
- @objects = Obj.where(id: objects_ids)
11
- end
12
- end
13
-
14
- def object
15
- end
16
-
17
- def agenda
18
- @objects = []
19
- unless params[:selection_id].blank?
20
- objects_ids = Selection.find(params[:selection_id]).api_agenda(params[:from], params[:to])[:results]
21
- @objects = Obj.where(id: objects_ids)
22
- end
23
- end
24
- end
25
- end
1
+ require_dependency "apidae/application_controller"
2
+
3
+ module Apidae
4
+ class ApiController < ApplicationController
5
+
6
+ def selection
7
+ @objects = []
8
+ unless params[:selection_id].blank?
9
+ objects_ids = Selection.find(params[:selection_id]).api_results[:results]
10
+ @objects = Obj.where(id: objects_ids)
11
+ end
12
+ end
13
+
14
+ def object
15
+ end
16
+
17
+ def agenda
18
+ @objects = []
19
+ unless params[:selection_id].blank?
20
+ objects_ids = Selection.find(params[:selection_id]).api_agenda(params[:from], params[:to])[:results]
21
+ @objects = Obj.where(id: objects_ids)
22
+ end
23
+ end
24
+ end
25
+ end
@@ -1,6 +1,6 @@
1
- module Apidae
2
- class ApplicationController < ActionController::Base
3
- protect_from_forgery with: :exception
4
- before_action Rails.application.config.apidae_auth
5
- end
6
- end
1
+ module Apidae
2
+ class ApplicationController < ActionController::Base
3
+ protect_from_forgery with: :exception
4
+ before_action Rails.application.config.apidae_auth
5
+ end
6
+ end
@@ -1,13 +1,13 @@
1
- require_dependency "apidae/application_controller"
2
-
3
- module Apidae
4
- class DashboardController < ApplicationController
5
- def index
6
- @objects = Obj.count
7
- @selections = Selection.count
8
- @projects = Project.count
9
- @references = Reference.count
10
- @last_imports = FileImport.order(id: :desc).take(5)
11
- end
12
- end
13
- end
1
+ require_dependency "apidae/application_controller"
2
+
3
+ module Apidae
4
+ class DashboardController < ApplicationController
5
+ def index
6
+ @objects = Obj.count
7
+ @selections = Selection.count
8
+ @projects = Project.count
9
+ @references = Reference.count
10
+ @last_imports = FileImport.order(id: :desc).take(5)
11
+ end
12
+ end
13
+ end