Displaying 1 result from an estimated 1 matches for "sharecontrol".
Did you mean:
chartcontrol
2008 Jul 19
1
Routes
...ff)
class MapController < ApplicationController
def index
@map = getmap
end
def getmap
if params[''map''] then
@map = params[''map'']
end
end
end
now, for the "share" one I cant for the life of me get any values out of
class ShareController < ApplicationController
def index
if params[''from''] then
@map = params[''from'']
else
@map = ''no params''
end
end
end
i''ve tried
http://localhost:3000/share/ - outputs no params
http://localhost:3000...