Files
danbooru/app/controllers/post_events_controller.rb
evazion 7c8557dbac Make more pages publicly accessible to logged out users.
* /artist_commentaries
* /note_versions
* /post_appeals
* /post_flags
* /posts/1/events
* /super_voters
2016-10-17 05:57:05 -05:00

9 lines
188 B
Ruby

class PostEventsController < ApplicationController
respond_to :html, :xml, :json
def index
@events = PostEvent.find_for_post(params[:post_id])
respond_with(@events)
end
end