diff options
Diffstat (limited to 'app/controllers/events_controller.rb')
| -rw-r--r-- | app/controllers/events_controller.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/events_controller.rb b/app/controllers/events_controller.rb index b9b7892..be3f547 100644 --- a/app/controllers/events_controller.rb +++ b/app/controllers/events_controller.rb | |||
| @@ -17,6 +17,11 @@ class EventsController < ApplicationController | |||
| 17 | end | 17 | end |
| 18 | end | 18 | end |
| 19 | 19 | ||
| 20 | # GET /events/without_node | ||
| 21 | def without_node | ||
| 22 | @events = Event.where(node_id: nil).order(:start_time).paginate(page: params[:page], per_page: 25) | ||
| 23 | end | ||
| 24 | |||
| 20 | # GET /events/1 | 25 | # GET /events/1 |
| 21 | # GET /events/1.xml | 26 | # GET /events/1.xml |
| 22 | def show | 27 | def show |
