espen / balder

Balder - Open source Ruby on Rails photo gallery
http://balderapp.com
MIT License
262 stars 97 forks source link

Infinite redirection #2

Closed vanicat closed 13 years ago

vanicat commented 13 years ago

In the rails3 branch, the setup before filter found in ApplicationController wil always redirect to new_account_path even when we are creating this first new user.

vanicat commented 13 years ago

Sorry, I should have rechecked before submitting. This bug was due to a modification I made to solve another bug:

you are using new_account_path, when there is no resource named account: you define in routes.rb a routes: resources :account, :as => "users"

this define new_user_path... You probably mean: resources :account, :controller => "users" or even: resource :account, :controller => "users"

espen commented 13 years ago

Balder is not yet fully rails3-compatible. There are a few issues. I will look into it and let you know. But cannot make any promise when I will find the time.