On Fri, Jan 11, 2013 at 9:50 PM, Alberto Vena wrote:Ryan, I solved this problem with an hack for now. I just added:
namespace :admin do
resources :users
end
into routes of our extension and tests pass.
This specific problem apart, is there a reason why this route are not
defined into spree_auth_devise?
Thanks!
--
Alberto Vena
http://nebulab.it/Il giorno giovedì 13 dicembre 2012, alle ore 07:24, Ryan Bigg ha scritto:
I can verify the issue exists right now, but I am too tired tonight to
take a look at it in depth. I will take a look tomorrow morning!
On Wednesday, December 12, 2012, Alberto Vena wrote:
Of course,
https://github.com/nebulab/spree-subscriptionsmy latest commit on master is what I have done until now to be spree 1.2
compatible.
Thanks!
--
Alberto Vena
http://nebulab.it/Il giorno martedì 11 dicembre 2012, alle ore 23:58, Ryan Bigg ha
scritto:
Can you make this extension available to me so that I can poke and prod at
it?
On Tue, Dec 11, 2012 at 9:03 PM, Alberto Vena wrote:
Hi all,
I'm upgrading one of our extensions (spree-subscriptions) from spree 1.1
to 1.2. This version introduces new auth system and I'm having some trouble
with it.
Since the extension handle users we need to access to /admin/users/ path
but lot of extension tests fail because of this error:
Failure/Error: visit spree.admin_path
ActionView::Template::Error:
undefined method `admin_users_path' for
#<ActionDispatch::Routing::RoutesProxy:0x007fc4d9dfdea0>
In fact if I run "rake routes" in the dummy app I can't see admin users
paths and in the spree_auth_devise routes file (
https://github.com/spree/spree_auth_devise/blob/1-2-stable/config/routes.rb)there's no trace of these routes.
I'm including the "spree_auth_devise" through the gemspec in this way:
Gem::Specification.new do |s|
…
...
s.add_dependency 'spree_auth_devise', '~> 1.0.1'
…
end
and requiring it in the lib/spree-subscriptions.rb file.
Can someone please help me understand where this path is currently defined
and how can I include it in my app without to interfere with spree core
modules?
Thanks
--
Alberto Vena
http://nebulab.it/--
You received this message because you are subscribed to the Google Groups
"Spree" group.
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.--
You received this message because you are subscribed to the Google Groups
"Spree" group.
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.--
You received this message because you are subscribed to the Google Groups
"Spree" group.
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.--
You received this message because you are subscribed to the Google Groups
"Spree" group.
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.--