Class: Bumbleworks::Gui::TrackersController

Inherits:
ApplicationController show all
Defined in:
lib/bumbleworks/gui/controllers/trackers_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#layout, #set_title

Instance Method Details

#indexObject



4
5
6
# File 'lib/bumbleworks/gui/controllers/trackers_controller.rb', line 4

def index
  expose :trackers => Bumbleworks::Tracker.all
end

#showObject



8
9
10
# File 'lib/bumbleworks/gui/controllers/trackers_controller.rb', line 8

def show
  expose :tracker => Bumbleworks::Tracker.new(params[:id])
end