@@ -95,7 +95,7 module Redmine | |||
|
95 | 95 | page = nil |
|
96 | 96 | if args.size > 0 |
|
97 | 97 | page = Wiki.find_page(args.first.to_s, :project => @project) |
|
98 | elsif obj.is_a?(WikiContent) | |
|
98 | elsif obj.is_a?(WikiContent) || obj.is_a?(WikiContent::Version) | |
|
99 | 99 | page = obj.page |
|
100 | 100 | else |
|
101 | 101 | raise 'With no argument, this macro can be called from wiki pages only.' |
General Comments 0
You need to be logged in to leave comments.
Login now