Added a method to delete maps

also split the maps into diffrent pages. all map pages urls are now
prefixed with .../exceptionhandler/maps...

closes #18
This commit is contained in:
2012-04-29 17:10:47 -04:00
parent 483dd95295
commit cbb37e750b
6 changed files with 47 additions and 35 deletions

View File

@@ -20,8 +20,10 @@
# When a new exception report is recieved, it will be compared to existing bug issues.
# If there is a match, the existing issue will be updated
# if not a new bug issue will be generated.
ActionController::Routing::Routes.draw do |map|
ActionController::Routing::Routes.draw do |map|
map.connect '/exceptionhandler', :controller => 'exceptionhandler', :action => 'index'
map.connect '/maps', :controller => 'maps', :action => 'index'
map.connect '/exceptionhandler/maps', :controller => 'maps', :action => 'index'
map.connect '/uploadFile', :controller => 'maps', :action => 'uploadFile'
map.connect '/exceptionhandler/maps/delete/:map', :controller => 'maps', :action => 'deleteMap'
map.connect '/exceptionhandler/maps/new', :controller => 'maps', :action => 'new'
end