2014-04-28 00:33:21 +02:00
|
|
|
class MapsController < ApplicationController
|
|
|
|
def index
|
2014-05-10 11:38:39 +02:00
|
|
|
@cities_event = City.joins(:events).where('start_time > ?', 360.days.ago)
|
2014-04-28 00:33:21 +02:00
|
|
|
|
2014-05-10 11:38:39 +02:00
|
|
|
@cities_lug = City.joins :lugs
|
2014-04-28 00:33:21 +02:00
|
|
|
end
|
|
|
|
end
|