Rails controllers are ALWAYS plurals, even when they are singletons.
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Wed, 29 Apr 2009 15:41:50 +0000 (17:41 +0200)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Wed, 29 Apr 2009 15:41:50 +0000 (17:41 +0200)
commit83906dee946c8e59ec3735d190503fe93e0b25a2
treed3246652b6acfbed2b504564e7f1e58711847bea
parente670be4bccc8e37e1ef714a54952b00379acc118
Rails controllers are ALWAYS plurals, even when they are singletons.
Anyway, resources is not a singleton. fix name.

Route resources by default.

fix array type in resources template
webservice/app/controllers/resource_controller.rb [deleted file]
webservice/app/controllers/resources_controller.rb [new file with mode: 0644]
webservice/app/views/resource/index.html.erb [deleted file]
webservice/app/views/resource/index.xml.erb [deleted file]
webservice/app/views/resources/index.html.erb [new file with mode: 0644]
webservice/app/views/resources/index.xml.erb [new file with mode: 0644]
webservice/config/routes.rb