I need to add a link to a rss page but i don't know how
def index
@boxes = Box.paginate :page => params[:page], :order => "boxes.id desc", :per_page => 5,
:include => [:suppliers, :manufacturer]
@page_title = 'Catálogo'
respond_to do |format|
format.html
format.xml { render :xml => @boxes }
format.rss { render :layout => false }
end
end
the url to access is http://localhost:3000/catalog.rss
but i don't know how to make it like this <%= link_to 'Canal RSS', :action => 'index' %>