Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8263065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T03:58:21+00:00 2026-06-08T03:58:21+00:00

Here I want to render the layout of engine’s parent application, i.e. in hierarchy

  • 0

Here I want to render the layout of engine’s parent application, i.e. in hierarchy engine’s parent application.html.erb should be higher. But since engine has also got application.html.erb it is only rendering it and not rendering engine’s parent application.html.erb.

How can i render my parent application.html.erb along with my engine application.html.erb

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T03:58:23+00:00Added an answer on June 8, 2026 at 3:58 am

    In your engine controller you can use:

    layout 'application'
    

    in order to render the application layout or you can switch to:

    layout 'engine_name/application'
    

    to load the engine’s layout.

    I don’t know if you can load them both (engine layout should only inherit from application layout and extend it) but I hope it gets you further at least.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my application.html.erb layout for my app, I want to have a partial that
I have such problem : I want to render html file, but I'm failing
Here my code rendering pdf is ok .But I don't want render directly save
enter code here Want to remove items from a Main list , but give
I'm not entirely sure if I can do what I want here, but I
i want a table to render with minimum width according to its content, but
Here is my controller code:- def image_test respond_to do |format| format.js {render :layout =>
Here i want to do UDP Socket programming in C. I have one device
All Here i want to run .sh file via system call in android NDK.
Need a little help with my jquery here I want all my button with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.