diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-03 07:57:10 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-03 07:57:10 +0300 |
commit | 9fbdbf8b3fff72ae37a320e7e9fac3b9224e3c53 (patch) | |
tree | 4ea2a7f8a785d1680f8f8d9fb64b0a8fd56e6ad5 /app | |
parent | aaae5e6f5ebc61f724e901f26e928f5e3bd9eb88 (diff) |
Rubocop: Style/Alias enabled
Diffstat (limited to 'app')
-rw-r--r-- | app/models/wiki_page.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/wiki_page.rb b/app/models/wiki_page.rb index b9ab6702c53..32981a0e664 100644 --- a/app/models/wiki_page.rb +++ b/app/models/wiki_page.rb @@ -43,7 +43,7 @@ class WikiPage @attributes[:slug] end - alias :to_param :slug + alias_method :to_param, :slug # The formatted title of this page. def title |