module-and-template-store/app/controllers/home_controller.rb

7 lines
173 B
Ruby
Raw Normal View History

2013-12-25 10:39:05 +00:00
class HomeController < ApplicationController
def index
@templates = Template.desc(:created_at).limit(3)
@extensions = Extension.desc(:created_at).limit(3)
2013-12-25 10:39:05 +00:00
end
end