From 87d3764eebe8d9abb288d73521bd17e6fd993e56 Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Mon, 17 Apr 2017 15:42:34 +1200 Subject: [PATCH] Route for flickr auth callback -- Fixes #1106 --- app/views/photos/new.html.haml | 2 +- config/routes.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/photos/new.html.haml b/app/views/photos/new.html.haml index 41dc57586..4bb2013f2 100644 --- a/app/views/photos/new.html.haml +++ b/app/views/photos/new.html.haml @@ -36,5 +36,5 @@ - else .alert You must - = link_to "connect your account to Flickr", '/auth/flickr' + = link_to "connect your account to Flickr", '/members/auth/flickr' to add photos. diff --git a/config/routes.rb b/config/routes.rb index b09c20a47..5d9a40ffd 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -81,6 +81,7 @@ Growstuff::Application.routes.draw do root to: 'home#index' get 'auth/:provider/callback' => 'authentications#create' + get 'members/auth/:provider/callback' => 'authentications#create' get '/shop' => 'shop#index' get '/shop/:action' => 'shop#:action'