Cloud Computing: The Digital Shift 2.0 – Understanding the Current Market Trends

Render partial or view from another controller

To render view from another controller

# In rail 2.3
render "controller/action"

# In rails 2.2 or below
render :template => 'controller/action'

To render partial from another controller’s views folder

render :partial => "controller/partial"

Cheers !
Sandip

Leave a Comment

Your email address will not be published.