Skip to content

Commit

Permalink
puts message
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerce committed Mar 26, 2012
1 parent 602e1ad commit 0628d2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/movies_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def destroy
def similar
@title = Movie.find(params[:id].to_i()).title
@movies = Movie.similar_by_director(params[:id].to_i())
puts @movies.inspect
if !@movies
flash[:notice] = "'#{@title}' has no director info"
redirect_to movies_path
Expand Down

0 comments on commit 0628d2d

Please sign in to comment.