From 8345fb8001e82b145b9ce4c8558d4d4712ebad60 Mon Sep 17 00:00:00 2001 From: hukl Date: Sat, 8 Aug 2009 15:38:20 +0200 Subject: added menu items resource --- app/controllers/menu_items_controller.rb | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 app/controllers/menu_items_controller.rb (limited to 'app/controllers/menu_items_controller.rb') diff --git a/app/controllers/menu_items_controller.rb b/app/controllers/menu_items_controller.rb new file mode 100644 index 0000000..1ac3ddb --- /dev/null +++ b/app/controllers/menu_items_controller.rb @@ -0,0 +1,27 @@ +class MenuItemsController < ApplicationController + + layout 'admin' + + def index + @menu_items = MenuItem.all + end + + def show + end + + def new + end + + def create + end + + def edit + end + + def update + end + + def delete + end + +end -- cgit v1.3