diff options
Diffstat (limited to 'app/models/project_wiki.rb')
-rw-r--r-- | app/models/project_wiki.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/project_wiki.rb b/app/models/project_wiki.rb index 50ce1c67453..f0967b87345 100644 --- a/app/models/project_wiki.rb +++ b/app/models/project_wiki.rb @@ -39,6 +39,7 @@ class ProjectWiki def full_path @project.full_path + '.wiki' end + alias_method :id, :full_path # @deprecated use full_path when you need it for an URL route or disk_path when you want to point to the filesystem alias_method :path_with_namespace, :full_path |