Merge pull request #757 from rishabhjain/master

Fixes a typo

Andrew Cantino %!s(int64=10) %!d(string=hace) años
padre
commit
9f63b85ac6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/controllers/events_controller.rb

+ 1 - 1
app/controllers/events_controller.rb

@@ -11,7 +11,7 @@ class EventsController < ApplicationController
11 11
 
12 12
     respond_to do |format|
13 13
       format.html
14
-      format.json { render json: @event }
14
+      format.json { render json: @events }
15 15
     end
16 16
   end
17 17