remove debug logging
This commit is contained in:
@@ -9,7 +9,6 @@ class PostsController < ApplicationController
|
|||||||
rescue_from ActiveRecord::RecordNotFound, :with => :rescue_exception
|
rescue_from ActiveRecord::RecordNotFound, :with => :rescue_exception
|
||||||
|
|
||||||
def index
|
def index
|
||||||
flash[:notice] = "test 1 2 3"
|
|
||||||
if params[:md5].present?
|
if params[:md5].present?
|
||||||
@post = Post.find_by_md5(params[:md5])
|
@post = Post.find_by_md5(params[:md5])
|
||||||
redirect_to post_path(@post)
|
redirect_to post_path(@post)
|
||||||
|
|||||||
Reference in New Issue
Block a user