metamaps--metamaps/app/controllers/main_controller.rb

14 lines
204 B
Ruby
Raw Normal View History

2012-09-23 02:39:12 +00:00
class MainController < ApplicationController
respond_to :html, :js, :json
def home
@current_user = current_user
@all = Group.all + Person.all + Item.all
respond_with(@all)
end
end