Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 179 Bytes
class CommentsController < BasePostController
actions :create, :destroy
belongs_to :wall, :status
private
def collection_url
request.referrer || root_path
end
end