Commit 140510fa

mo khan <mo@mokhan.ca>
2014-05-21 03:52:32
remove redirect to tags page.
1 parent cb20f27
Changed files (1)
app/controllers/categories_controller.rb
@@ -1,10 +1,6 @@
 class CategoriesController < ApplicationController
   def show
     @category = Category.find_by_slug(params[:slug].downcase)
-    if @category
-      @creations = @category.creations.includes(:user).page(params[:page]).per(12)
-    else
-      redirect_to creation_tag_path(params[:slug].downcase)
-    end
+    @creations = @category.creations.includes(:user).page(params[:page]).per(12)
   end
 end