yet. I can't access to the admin panel with the same user two times, I can
login only in the first time with an admin user.
My intention is to use Refinery and Spree together, Refinery works
perfectly, if I add Spree.user_class = Refinery::User (with the last Spree
version) refinery everything working great but I can't see the Spree login
form, it is redirecting to the root page. I've tried with many version of
Spree but nothing is working.
Any help? Thanks a lot.
Routes
root :to => "refinery/pages#home"
mount Spree::Core::Engine, :at => '/products'mount Refinery::Core::Engine, :at => '/'
Initializer
Spree.user_class = "Refinery::User"
Spree::Config.set(:products_per_page => 4)
SslRequirement.module_eval do
protected
def ssl_allowed?
true
endend
Gemfile
source 'https://rubygems.org'
gem 'rails', '3.2.9'
gem 'pg'
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'endgem 'jquery-rails', '~> 2.0.0'gem 'will_paginate'
gem 'execjs'gem 'therubyracer'
gem 'refinerycms', '~> 2.0.0', :branch => 'master'gem 'refinerycms-i18n', '~> 2.0.0'gem 'refinerycms-inquiries', '~> 2.0.0'gem 'refinerycms-search', '~> 2.0.0'gem 'refinerycms-page-images', '~> 2.0.0'gem 'refinerycms-settings'
gem 'spree', :git => 'git://github.com/spree/spree.git'
gem 'activemerchant', :require => 'active_merchant'
--
You received this message because you are subscribed to the Google Groups "Spree" group.
To view this discussion on the web visit https://groups.google.com/d/msg/spree-user/-/Nd4aB5_oqCEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.