Title / Description
Code def list_by_tag options = Article.find_options_for_find_tagged_with(params[:tag_name]).merge :page => params[:page], :order => "created_at DESC" @articles = Article.paginate(options) #@articles = Article.find_tagged_with(params[:tag_name]) respond_to do |format| format.html{ render :partial => "list_by_tag", :layout => "default"} format.js{ render :layout => false } end end
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code