3 4 5
# File 'app/controllers/signalman/views_controller.rb', line 3 def index @events = Event.views.recent_first end
7 8 9
# File 'app/controllers/signalman/views_controller.rb', line 7 def show @event = Event.views.find(params[:id]) end