I have a rails application using views/layouts/application.html.erb as the default site template.
I'm just about to add several popup windows. These shall not inherit and display the application template.
How can I exclude several views from loading the application template?
Any help would be very appreciated.
In the action for those views render with layout false:
class YourController
def popup
render :layout => false
end
end
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.