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