public
Description: El Dorado is a full-stack community web application written in Ruby/Rails.
Homepage: http://almosteffortless.com/eldorado/
Clone URL: git://github.com/trevorturk/el-dorado.git
updating current release with security fix

git-svn-id: http://eldorado.googlecode.com/svn/tags/rel-0.5.1@579 
9c008b19-a030-0410-9975-d76d301b4276
trevorturk (author)
Fri Dec 28 14:47:33 -0800 2007
commit  692b749e58f9c011a34c49ad3885715327b791a5
tree    fb9852707c923f823a8b3b67e56a405087550174
parent  60b1205725c1117fe5d8c3a615c642d95c000c02
...
29
30
31
32
 
33
34
35
...
29
30
31
 
32
33
34
35
0
@@ -29,7 +29,7 @@ module AuthenticationSystem
0
   end
0
     
0
   def can_edit
0
- return false unless logged_in?
0
+ redirect_to root_path and return false unless logged_in?
0
     klass = request.path_parameters['controller'].singularize.classify.constantize
0
     @item = klass.find(params[:id])
0
     if request.path_parameters['controller'] == "users"

Comments

    No one has commented yet.