This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
$(document).ready(function() { | |
var $container, gp2; | |
gp2 = function() { | |
var autocomplete, input, types; | |
input = document.getElementById('loc-field'); | |
types = document.getElementById('type-selector'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started GET "/items/27/post/continue" for 127.0.0.1 at 2015-10-02 07:59:41 -0700 | |
Processing by ItemsController#continue as JSON | |
Parameters: {"id"=>"27"} | |
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]] | |
Item Load (0.4ms) SELECT "items".* FROM "items" WHERE "items"."id" = $1 LIMIT 1 [["id", 27]] | |
Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.7ms) | |
ActionView::MissingTemplate - Missing template items/continue, application/continue with {:locale=>[:en], :formats=>[:json], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :arb, :haml, :jbuilder]}. Searched in: | |
* "/home/user/testapp/app/views" | |
* "/home/user/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bundler/gems/activeadmin-893b46c6530c/app/views" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rails.application.routes.draw do | |
devise_for :admins, ActiveAdmin::Devise.config | |
ActiveAdmin.routes(self) | |
devise_for :users, skip: [:sessions, :passwords, :registrations], controllers: { omniauth_callbacks: "callbacks", registrations: 'registrations', sessions: 'sessions' } | |
as :user do |