D
dukeenggitster
In my rails application view i am using a svg file.I have a
static .svg file and then embed it in a html file.
<html>
<head>
<h2>Level 2 GSmart Report</h2>
</head>
<body>
<div>
<embed type="image/svg+xml" src="report.svg"
width='100%' height='100%' />
</div>
</body>
</html>
in controller i render the html file.
render :file =>'C:/instantrails/rails_app/ALUgsm/app/views/alu_gsm/
report.html'
It is showing the html but not svg content.
Can anybody help me,what to do?
static .svg file and then embed it in a html file.
<html>
<head>
<h2>Level 2 GSmart Report</h2>
</head>
<body>
<div>
<embed type="image/svg+xml" src="report.svg"
width='100%' height='100%' />
</div>
</body>
</html>
in controller i render the html file.
render :file =>'C:/instantrails/rails_app/ALUgsm/app/views/alu_gsm/
report.html'
It is showing the html but not svg content.
Can anybody help me,what to do?