From 624c3bdbfb0bb35026676c53253b240e5964a7ed Mon Sep 17 00:00:00 2001 From: kilian Date: Wed, 2 Feb 2011 19:42:51 -0600 Subject: [PATCH] Stripping content --- app/controllers/geronimo_controller.rb | 10 +++++----- app/views/layouts/_g_header.html.erb | 2 +- app/views/layouts/_g_stylesheets.html.erb | 2 +- app/views/layouts/g_application.html.erb | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/controllers/geronimo_controller.rb b/app/controllers/geronimo_controller.rb index e8eef67..3b7480d 100644 --- a/app/controllers/geronimo_controller.rb +++ b/app/controllers/geronimo_controller.rb @@ -2,27 +2,27 @@ class GeronimoController < ApplicationController def everything @page_name = "Everything" - render :layout => 'g_application' + render 'example_site/everything', :layout => 'g_application' end def index blog = Blog.latest_for_frontpage @latest_front_page_blogpost = blog ? blog.blogtext : "Nothing to say" - @next_show = Show.next_show - render :layout => false + @next_show = Show.next_show + render 'example_site/index', :layout => false end def shows @page_name = "Shows" @upcoming_shows = Show.upcoming_shows @past_shows = Show.past_shows - render :layout => 'g_application' + render 'example_site/shows', :layout => 'g_application' end def blogs @page_name = "Says Things" @blogs = Blog.order("created_at DESC") - render :layout => 'g_application' + render 'example_site/blogs', :layout => 'g_application' end end \ No newline at end of file diff --git a/app/views/layouts/_g_header.html.erb b/app/views/layouts/_g_header.html.erb index bc177d3..f2ea784 100644 --- a/app/views/layouts/_g_header.html.erb +++ b/app/views/layouts/_g_header.html.erb @@ -1 +1 @@ -
Geronimo!
\ No newline at end of file +
Your Band!
\ No newline at end of file diff --git a/app/views/layouts/_g_stylesheets.html.erb b/app/views/layouts/_g_stylesheets.html.erb index a375e56..66511f9 100644 --- a/app/views/layouts/_g_stylesheets.html.erb +++ b/app/views/layouts/_g_stylesheets.html.erb @@ -1 +1 @@ - <%= stylesheet_link_tag 'geronimo', :media => 'screen' %> \ No newline at end of file + <%= stylesheet_link_tag 'your_band', :media => 'screen' %> \ No newline at end of file diff --git a/app/views/layouts/g_application.html.erb b/app/views/layouts/g_application.html.erb index 3052d69..1156c0e 100644 --- a/app/views/layouts/g_application.html.erb +++ b/app/views/layouts/g_application.html.erb @@ -1,11 +1,11 @@ - Geronimo! <%= @page_name %> + Your Band! <%= @page_name %> <%= csrf_meta_tag %> <%= render 'layouts/g_stylesheets' %> <%= javascript_include_tag :defaults %> - +
<%= @page_name%>