mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Add content_type line to German CoffeeScript example.
This commit is contained in:
parent
f58d015b6d
commit
a852f97f52
1 changed files with 1 additions and 0 deletions
|
@ -432,6 +432,7 @@ Das coffee-script gem und das `coffee`-Programm werden benötigt um CoffeScript-
|
||||||
require 'coffee-script'
|
require 'coffee-script'
|
||||||
|
|
||||||
get '/application.js' do
|
get '/application.js' do
|
||||||
|
content_type 'text/javascript', :charset => 'utf-8'
|
||||||
coffee :application
|
coffee :application
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue