Commit 104c7cbe

mo k <mo@mokhan.ca>
2012-03-01 03:29:08
remove home/#index page.
1 parent f971172
Changed files (3)
app
config
app/controllers/home_controller.rb
@@ -1,6 +1,2 @@
 class HomeController < ApplicationController
-  # to be removed
-  def index
-    @creations = Creation.page(params[:page]).per(16)
-  end
 end
app/views/home/index.html.erb
@@ -1,14 +0,0 @@
-<% content_for :title do %>
-  Welcome to CakeSide
-<% end %>
-
-<% if !user_signed_in? %>
-<div class="hero-unit">
-  <h1>Welcome cake enthusiast!</h1>
-  <p><strong>Make</strong> cakes, <strong>sell</strong> cakes, or just <strong>love</strong> eating them? You've come to the right place!</p>
-  <p>CakeSide is a free site to <strong>share</strong> your cake <strong>creations</strong> and <strong>ideas</strong> with other cake fanatics like yourself!</p>
-  <br />
-  <p><a href="<%= url_for new_user_session_path %>" class="btn btn-large">Sign me up &raquo;</a></p>
-</div>
-<% end %>
-<%= render "shared/creation_image_gallery" %>
config/routes.rb
@@ -3,7 +3,6 @@ Cake::Application.routes.draw do
   root :to => "creations#index"
 
   # /home
-  get "home/index" # to be removed
   get "home/about_us"
   get "home/why_cakeside"