Permalink
Browse files

fixup! remove search

  • Loading branch information...
1 parent 86bef4d commit 66bd4c8771fde66183f75a8fe982a76d887baad9 @mislav committed Apr 27, 2012
Showing with 0 additions and 7 deletions.
  1. +0 −7 app.rb
View
7 app.rb
@@ -9,7 +9,6 @@
require 'active_support/core_ext/integer/time'
require 'active_support/core_ext/time/acts_like'
require 'lib/instagram/failsafe_store'
-require 'addressable/uri'
require 'digest/md5'
require 'haml'
require 'sass'
@@ -148,12 +147,6 @@ def search_path?
request.path.index('/search') == 0
end
- def search_page(page)
- Addressable::URI.parse(request.path).tap do |url|
- url.query_values = params.merge('page' => page.to_s)
- end
- end
-
def last_modified_from_photos(photos)
if photos.any?
last_modified Time.at(photos.first.created_time.to_i)

0 comments on commit 66bd4c8

Please sign in to comment.