aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/companies_controller.rb
diff options
context:
space:
mode:
authorjpl2016-11-29 16:06:29 +0100
committerjpl2016-11-29 16:06:29 +0100
commit15f6dd2b0ef8f57179c546039a9ae9f8b8975034 (patch)
tree7fcf02eb3f2945a388f64e8fcf8739ce145109f1 /app/controllers/companies_controller.rb
parentf58e6c14afe4bf8749366ae7f2631166488e7a69 (diff)
downloadchouette-core-15f6dd2b0ef8f57179c546039a9ae9f8b8975034.tar.bz2
Refs #2019: updating companies with table builder
Diffstat (limited to 'app/controllers/companies_controller.rb')
-rw-r--r--app/controllers/companies_controller.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/companies_controller.rb b/app/controllers/companies_controller.rb
index 842398552..e61441524 100644
--- a/app/controllers/companies_controller.rb
+++ b/app/controllers/companies_controller.rb
@@ -57,4 +57,7 @@ class CompaniesController < BreadcrumbController
params.require(:company).permit( :objectid, :object_version, :creation_time, :creator_id, :name, :short_name, :organizational_unit, :operating_department_name, :code, :phone, :fax, :email, :registration_number, :url, :time_zone )
end
+ alias_method :current_referential, :line_referential
+ helper_method :current_referential
+
end