2010-05-10 22:39:52 +00:00
|
|
|
module Admin
|
|
|
|
class LayoutsController < BaseController
|
2010-05-02 23:33:17 +00:00
|
|
|
|
2010-05-10 22:39:52 +00:00
|
|
|
sections 'settings'
|
2010-05-02 23:33:17 +00:00
|
|
|
|
2010-05-10 22:39:52 +00:00
|
|
|
def index
|
2010-06-22 13:04:40 +00:00
|
|
|
@layouts = current_site.layouts.order_by([[:name, :asc]])
|
2010-05-10 22:39:52 +00:00
|
|
|
end
|
2010-05-02 23:33:17 +00:00
|
|
|
|
2010-05-10 22:39:52 +00:00
|
|
|
end
|
2010-05-02 23:33:17 +00:00
|
|
|
end
|