The Rails application that powers OpenStreetMap
When someone went to /message/new/:user the "Subject" are would be pre-filled out with t('message.new.title'). The problem was that the @title template variable was being used for two purposes, to set the HTML <title> AND to pre-fill out the subject. We don't always want these two to be the same, but sometimes we do. E.g. when someone replies to a diary entry and visits /message/new/:user?title=Foo we want Foo in the <title> and in the pre-filled out Subject, and the same goes for replying to a message. So I've split up the @title variable into @title and @subject. |
||
---|---|---|
app | ||
config | ||
db | ||
doc | ||
lib | ||
public | ||
script | ||
test | ||
vendor | ||
Rakefile | ||
README |
Documentation ============= Try `rake doc:app` and see /doc/