change :show from view to method+discussion
Just curious - what does show do?
every web request renders the "show" view, which then renders other views. In html format, it looks like this:
view :show do |args|
@main_view = args[:view] || args[:home_view]
if ajax_call?
view = @main_view || :open
self.render view, args
else
self.render_layout args
end
end
this ticket is really pretty simple, and would just change
view :show do |args
to
def show( args )
in other words, it's the way the controller object talks to the format object.