|
|
|
@@ -15,6 +15,7 @@ class MainController < ApplicationController |
|
|
|
|
|
|
|
respond_to do |format|
|
|
|
|
format.html { render template: "/shared/#{fname}", handler: [:erb], status: status }
|
|
|
|
format.xml { render :xml => Laboratory.limit(1).to_xml, status: status }
|
|
|
|
format.all { render body: nil, status: status }
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|