ex:
render :partial=> "books"
render the view in _books.html.erb ( the partial view file must
start with _ )
ex:
render :partial => "rabbit/list"
render the view in different directory
note: the variable partial view can access is the variable the master view can access
沒有留言:
張貼留言