Code:
shovell (my application) ->
app
config
data
db
doc
lib
log
public ->
data ->
Files I'm trying to access
Rakefile
README
script
test
tmp
vendor
I run Ubuntu Linux.
I'm trying to access file "logo_Ubuntu.png" in my "public/data" directory, so I type:
Code:
(H)(T)(T)(P)://MY_INTERNAL_IP:3000/public/data/logo_Ubuntu.png
Then I get a routing error. Am I trying to access the file incorrectly?
Now I'm thinking I may have screwed something up in the routes.rb file, so...
Code:
ActionController::Routing::Routes.draw do |map|
map.connect '', :controller => "story"
map.connect ':controller/service.wsdl', :action => 'wsdl'
map.story 'story/show/:permalink',
:controller => 'story',
:action => 'show'
map.connect ':controller/:action/:id'
end
Yup, it's Shovell again. 
THE HUMILIATION! IT HURTS!
Bookmarks