Skip to content

Commit

Permalink
reveret previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
boutros committed Oct 29, 2013
1 parent a4a3882 commit 4a64fce
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion routes/reviews.rb
Expand Up @@ -11,7 +11,6 @@ class BokanbefalingerApp < Sinatra::Application

@isbn = params["isbn"]
@work = Work.new(@isbn) { |err| @error_message = err.message }
@work.reviews = @work.reviews.reject { |r| r.published == false }

# TODO check this
@cover = @work.editions.select { |e| e["isbn"] == params["isbn"].gsub(/[^0-9Xx]/, "") }.first["cover_url"] || @work.cover
Expand Down

0 comments on commit 4a64fce

Please sign in to comment.