app/controllers/cloud_volume_controller.rb
# handle buttons pressed on the button bar
handle buttons pressed on the button bar
handle buttons pressed on the button bar
def button
    @edit = session[:edit] 
    params[:display] = @display if %w(vms instances images).include?(@display)
    params[:page] = @current_page unless @current_page.nil? 
    return tag("CloudVolume") if params[:pressed] == 'cloud_volume_tag'
  end
def button @edit = session [ :edit ] params [ :display ] = @display if %w( vms instances images ) . include? ( @display ) params [ :page ] = @current_page unless @current_page . nil? return tag ( "CloudVolume" ) if params [ :pressed ] == 'cloud_volume_tag' end
handle buttons pressed on the button bar
handle buttons pressed on the button bar
# Restore @edit for adv search box # Save current page for list refresh