instance method
create_dispatch_files
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18 PrivateSignature
create_dispatch_files(m)
No documentation comment.
Parameters
-
mreq
Source
# File railties/lib/rails_generator/generators/applications/app/app_generator.rb, line 216
def create_dispatch_files(m)
if options[:with_dispatchers]
dispatcher_options = { :chmod => 0755, :shebang => options[:shebang] }
m.file "dispatches/config.ru", "config.ru"
m.file "dispatches/dispatch.rb", "public/dispatch.rb", dispatcher_options
m.file "dispatches/dispatch.rb", "public/dispatch.cgi", dispatcher_options
m.file "dispatches/dispatch.fcgi", "public/dispatch.fcgi", dispatcher_options
end
end
Defined in railties/lib/rails_generator/generators/applications/app/app_generator.rb line 216
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in AppGenerator