14 lines
208 B
Ruby
14 lines
208 B
Ruby
module Admin
|
|
module Views
|
|
module Trips
|
|
class Index < Admin::View
|
|
include Deps["repos.trip_repo"]
|
|
|
|
expose :trips do
|
|
trip_repo.list
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|