aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/path_builder_helper.rb
diff options
context:
space:
mode:
authorjpl2016-10-18 12:22:38 +0200
committerjpl2016-10-18 12:22:38 +0200
commita9aa01e2271fda736e13d1a10bd62f45e1508330 (patch)
tree2ffa792d45b91f514706b3aeaed5d281d5c88d77 /app/helpers/path_builder_helper.rb
parentf282672d581a826411271dc37fd173bf49f30f76 (diff)
downloadchouette-core-a9aa01e2271fda736e13d1a10bd62f45e1508330.tar.bz2
update tablebuilder with path new helpers
Diffstat (limited to 'app/helpers/path_builder_helper.rb')
-rw-r--r--app/helpers/path_builder_helper.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/helpers/path_builder_helper.rb b/app/helpers/path_builder_helper.rb
new file mode 100644
index 000000000..482cb91f0
--- /dev/null
+++ b/app/helpers/path_builder_helper.rb
@@ -0,0 +1,11 @@
+module PathBuilderHelper
+
+ # Companies
+ def company_path(company)
+ line_referential_company_path(company.line_referential_id, company)
+ end
+ def edit_company_path(company)
+ edit_line_referential_company_path(company.line_referential_id, company)
+ end
+
+end