make forum post quoting regexp nongreedy

This commit is contained in:
albert
2013-02-22 12:24:10 -05:00
parent 804055aac7
commit bbb8767b29
10 changed files with 35 additions and 18 deletions

View File

@@ -1,5 +1,6 @@
class LegacyController < ApplicationController
before_filter :member_only, :only => [:create_post]
rescue_from PostSets::SearchError, :with => :error
def posts
@post_set = PostSets::Post.new(tag_query, params[:page], params[:limit])
@@ -30,6 +31,9 @@ class LegacyController < ApplicationController
def unavailable
render :text => "this resource is no longer available", :status => 410
end
def error
end
private
def tag_query