controllers: set @current_item globally in respond_with.
This commit is contained in:
@@ -8,7 +8,7 @@ class WikiPageVersionsController < ApplicationController
|
||||
end
|
||||
|
||||
def show
|
||||
@current_item = @wiki_page_version = WikiPageVersion.find(params[:id])
|
||||
@wiki_page_version = WikiPageVersion.find(params[:id])
|
||||
respond_with(@wiki_page_version)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user