gnocode / noladex.org

People of New Orleans
http://www.noladex.org
21 stars 10 forks source link

Cleaned up auth. for user controller #31

Closed matthewling closed 12 years ago

matthewling commented 12 years ago

Hey, I updated the user controller to disallow people to edit each others profiles by id. Also some small cosmetic stuff. The relevant changes are in the last 8 commits, sorry I couldn't work out how to only request at the last 8 commits are relevant, and not all 23. :(

One important change is this commit https://github.com/matthewling/peopleofneworleans/commit/55e308c4d9a18aac9f4b51edccc2b2bb5a7512d3 which gave better results with the cropping of profile images, definitely test it out locally and then running the paperclip rake task to re:process those images which are a bit, skewed in production ...