aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlban Peignier2017-12-20 23:23:31 +0100
committerAlban Peignier2017-12-20 23:23:31 +0100
commit38ba7259702dccc5e2ee225e33a0c5390b2ad418 (patch)
tree1d0577f03eba6bea3b252eefb199512c3b1fe48e
parentac7df56835a10b729e0369fe6edbe2a1cb57927e (diff)
downloadchouette-core-38ba7259702dccc5e2ee225e33a0c5390b2ad418.tar.bz2
Fixes typo into ReferentialDecorator. Refs #5339
-rw-r--r--app/decorators/referential_decorator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/decorators/referential_decorator.rb b/app/decorators/referential_decorator.rb
index 9ebb6f330..0863b7f4b 100644
--- a/app/decorators/referential_decorator.rb
+++ b/app/decorators/referential_decorator.rb
@@ -74,7 +74,7 @@ class ReferentialDecorator < Draper::Decorator
private
# TODO move to a base Decorator (ApplicationDecorator)
- def has_feature?(*feature)
+ def has_feature?(*features)
h.has_feature?(*features) rescue false
end