Update for redmine 2.6.

Update for redmine 2.6.
It raises error in /attachments/wiki_pages/:id/edit without it.