public
Description: Gitorious aims to provide a great way of doing distributed opensource code collaboration.
Homepage: http://gitorious.org/projects/gitorious
Clone URL: git://github.com/dysinger/gitorious.git
gitorious / app / controllers / events_controller.rb
100644 14 lines (11 sloc) 0.366 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class EventsController < ApplicationController
  def index
    @events = Event.paginate(:all, :order => "events.created_at asc",
                  :page => params[:page], :include => [:user])
    @atom_auto_discovery_url = formatted_events_path(:atom)
    
    respond_to do |if_format_is|
      if_format_is.html {}
      if_format_is.atom {}
    end
  end
  
end