##// END OF EJS Templates
Added mail notification when a new message is posted in the forums....
Added mail notification when a new message is posted in the forums. Only users who "watch" the board receive notifications. To watch a board, go to the board and click on the "Watch" link. Notifications are sent by MessageObserver observer. GLoc was modified to use the mail template without language suffix when translated template (with language suffix) doesn't exist. Usefull when there's no hard coded text in the mail tempate. git-svn-id: http://redmine.rubyforge.org/svn/trunk@531 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r477:8e4a5996b03e
r528:7ca7e4bad503
Show More
dispatch.rb.example
9 lines | 473 B | text/plain | TextLexer
/ public / dispatch.rb.example
Jean-Philippe Lang
git-svn-id: http://redmine.rubyforge.org/svn/trunk@50 e93f8b46-1217-0410-a6f0-8f06a7374b81
r48 #!/usr/bin/ruby
Jean-Philippe Lang
Initial commit...
r2
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
require "dispatcher"
ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
Dispatcher.dispatch