Commit 15070ca7
Changed files (3)
app
controllers
views
creations
config
app/controllers/creations_controller.rb
@@ -58,12 +58,4 @@ class CreationsController < ApplicationController
format.html { redirect_to(creations_url) }
end
end
-
- def mine
- @creations = current_user.creations
-
- respond_to do |format|
- format.html # index.html.erb
- end
- end
end
app/views/creations/mine.html.erb
@@ -1,10 +0,0 @@
-<% content_for :title do %>
- My Creations
-<% end %>
-
-<% content_for :sidebar do %>
- <%= render "shared/my_profile_sidebar" %>
-<% end %>
-
-<h1>My Creations</h1>
-<%= render "shared/creation_thumbs" %>
config/routes.rb
@@ -6,7 +6,6 @@ Cake::Application.routes.draw do
# /creations
resources :creations
- match 'my_creations' => 'creations#mine', :as => 'my_creations', :method => 'GET'
# /profiles
get "profiles/index"