mirror of https://github.com/fspc/BikeShed-1.git
Browse Source
*Moved custom_netzke_helpers code to panel.js *Added panel controller and index and netzke layoutdenney-fix-saving-dates
Jason Denney
11 years ago
6 changed files with 20 additions and 3 deletions
@ -0,0 +1,7 @@ |
|||||
|
class PanelController < ApplicationController |
||||
|
|
||||
|
def index |
||||
|
render :inline => "<%=netzke :app_view, :layout => true %>", :layout => "netzke" |
||||
|
end |
||||
|
|
||||
|
end |
@ -1,7 +1,5 @@ |
|||||
class SiteController < ApplicationController |
class SiteController < ApplicationController |
||||
|
|
||||
def index |
def index |
||||
render :inline => "<%= netzke :app_view, :layout => true %>", :layout => "application" |
|
||||
end |
end |
||||
|
|
||||
end |
end |
||||
|
@ -0,0 +1,11 @@ |
|||||
|
!!! 5 |
||||
|
%html{:lang => "en"} |
||||
|
%head |
||||
|
%meta{:charset => "utf-8"}/ |
||||
|
%title= content_for?(:title) ? yield(:title) : "Velocipede" |
||||
|
= load_netzke |
||||
|
= csrf_meta_tags |
||||
|
%body |
||||
|
= yield |
||||
|
= javascript_include_tag "application" |
||||
|
= javascript_include_tag params[:controller] |
Loading…
Reference in new issue