tracks/tracks/app/views/projects/update.rjs
lukemelia 8b62e4c784 Convert project_controller to use RESTful routes (required renaming project_controller -> projects_controller per rails convention).
This change also changes project detail page URLs from /project/my_project to /projects/my_project
Benefits include
 * built-in enforcement of proper HTTP methods
 * simple named routes (e.g. project_url(project) instead of { :controller => "project", :action => "show", :url_friendly_name => project.url_friendly_name })
 * built-in routes for formats like .js and .xml
 
Also fixed a http basic authentication bug that I introduced a couple of days ago
Add a database index on the users table, login column, to speed authentication
Made more use of simply_helpful dom_id() method and simplified _project_listing.rhtml




git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@398 a4c988fc-2ded-0310-b66e-134b36920a42
2007-01-12 13:46:45 +00:00

2 lines
No EOL
156 B
Text

page.replace_html "container_#{@project.id}", :partial => 'project_listing', :object => @project
page.sortable "list-projects", get_listing_sortable_options