diff --git a/Gemfile~ b/Gemfile~ index 2075b0ef..23495a03 100644 --- a/Gemfile~ +++ b/Gemfile~ @@ -5,21 +5,22 @@ gem 'rails', '3.2.11' # Bundle edge Rails instead: # gem 'rails', :git => 'git://github.com/rails/rails.git' +gem 'devise' +gem 'redis' gem 'pg' -gem 'authlogic' gem 'cancan' gem 'formula' gem 'formtastic' gem 'json' gem 'rails3-jquery-autocomplete' gem 'best_in_place' -gem 'therubyracer' #optional -gem 'rb-readline' +#gem 'therubyracer' #optional +#gem 'rb-readline' # Gems used only for assets and not required # in production environments by default. group :assets do - gem 'sass-rails', '3.2.3' + gem 'sass-rails' gem 'coffee-rails', '~> 3.2.1' # See https://github.com/sstephenson/execjs#readme for more supported runtimes @@ -34,7 +35,7 @@ gem 'jquery-rails', '2.1.2' # gem 'bcrypt-ruby', '~> 3.0.0' # To use Jbuilder templates for JSON - gem 'jbuilder' + gem 'jbuilder', '0.8.2' # Use unicorn as the web server # gem 'unicorn' diff --git a/app/controllers/topics_controller.rb b/app/controllers/topics_controller.rb index f74c4290..271f7a19 100644 --- a/app/controllers/topics_controller.rb +++ b/app/controllers/topics_controller.rb @@ -145,6 +145,7 @@ class TopicsController < ApplicationController respond_to do |format| format.js { render :json => @topic.self_as_json } + format.json { render :json => @topic.self_as_json } end end diff --git a/app/views/maps/show.html.erb b/app/views/maps/show.html.erb index 300498c7..f41d7d37 100644 --- a/app/views/maps/show.html.erb +++ b/app/views/maps/show.html.erb @@ -64,63 +64,7 @@ <% end %>