Moving Netzke Admin view to Panel controller

*Moved custom_netzke_helpers code to panel.js
*Added panel controller and index and netzke layout
This commit is contained in:
Jason Denney
2014-01-18 15:14:19 -05:00
parent 2b863b8d8a
commit a84b0e0fe7
6 changed files with 20 additions and 3 deletions
+7
View File
@@ -0,0 +1,7 @@
class PanelController < ApplicationController
def index
render :inline => "<%=netzke :app_view, :layout => true %>", :layout => "netzke"
end
end
-2
View File
@@ -1,7 +1,5 @@
class SiteController < ApplicationController
def index
render :inline => "<%= netzke :app_view, :layout => true %>", :layout => "application"
end
end