Thursday, July 14, 2011

[Rails] Re: Using timezone javascript to set Time.zone

Hmm, so I've updated the routes

#routes.rb
scope 'planbadmin' do
... #removed the timezone resource
end
post "timezone/set"

and the rake routes output is now
timezone_set POST /timezone/set(.:format)
{:controller=>"timezone", :action=>"set"}

the console output is still exactly the same and the timezone set
function still isn't being called. Have you any other pointers? Again
thanks for your help with this its very much appreciated.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate