app/controllers/admin/references_controller.rb in radiant-0.8.2 vs app/controllers/admin/references_controller.rb in radiant-0.9.0.rc2
- old
+ new
@@ -1,7 +1,7 @@
class Admin::ReferencesController < ApplicationController
def show
respond_to do |format|
- format.any { render :action => params[:id] }
+ format.any { render :action => params[:type], :content_type => "text/html", :layout => false }
end
end
end