Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit

Permalink
Changing the jquery-mobile location
Browse files Browse the repository at this point in the history
  • Loading branch information
tscolari committed Sep 15, 2011
1 parent 0fb95be commit e2ce012
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ end
gem 'jquery-rails'
gem 'pg'
gem 'mobylette'
gem 'jquery-mobile', :git => "git://github.com/tscolari/jquery-mobile-rails.git"
gem 'jquery_mobile_rails'
gem 'therubyracer-heroku', '0.8.1.pre3'

group :test, :development do
Expand Down
11 changes: 3 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
GIT
remote: git://github.com/tscolari/jquery-mobile-rails.git
revision: 88c06e12c9ec446d01ddb97e35a2115e4d4dfe1c
specs:
jquery-mobile (1.0b3.1)
rails (~> 3.1.0)

GEM
remote: http://rubygems.org/
specs:
Expand Down Expand Up @@ -62,6 +55,8 @@ GEM
jquery-rails (1.0.14)
railties (~> 3.0)
thor (~> 0.14)
jquery_mobile_rails (1.0b3)
rails (~> 3.1.0)
linecache19 (0.5.12)
ruby_core_source (>= 0.1.4)
mail (2.3.0)
Expand Down Expand Up @@ -151,8 +146,8 @@ PLATFORMS
DEPENDENCIES
coffee-rails (~> 3.1.0)
factory_girl_rails
jquery-mobile!
jquery-rails
jquery_mobile_rails
mobylette
pg
rails (= 3.1.0)
Expand Down
6 changes: 6 additions & 0 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@ class ApplicationController < ActionController::Base
protect_from_forgery
respond_to_mobile_requests :skip_xhr_requests => false

private

def is_mobile_request?
true
end

end

0 comments on commit e2ce012

Please sign in to comment.