espen / balder

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

Cannot destroy album or collection #27

Closed rsilvestre closed 12 years ago

rsilvestre commented 12 years ago

Using the last build with ruby 1.9.2-p290 ans rails 3.1.2

Try to destroy album or collection, in the edit.html.erb, but the url build with : link_to("Delete this collection", { :action => "destroy", :id => @collection }, :confirm => "Are you sure you want to delete this collection?", :method => :delete)

become something like : http://localhost:3000/collections/1-nature

without destroy

espen commented 12 years ago

Does it work with Rails 3.0.10 as specified in the gemfile?

rsilvestre commented 12 years ago

I'm using the rails '3.1.2.rc2' and i'm trying to integrate your awsome gallery in my complete website...

espen commented 12 years ago

I have not yet tested Balder with Rails 3.1. Please use 3.0.10 as specified in the Gemfile until Balder is upgraded to support 3.1.

rsilvestre commented 12 years ago

I'm rewritting my application peace of code by peace of code and bring your code inside too peace by peace. I'll tell you what is wrong in your code or in my config If I find a solution...

espen commented 12 years ago

Works with current master using Rails 3.1.3