@@ -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 |
|