Sha256: 6472c008121be15f1b4b32b63de6ed52fc7b76d8f796ccbcac1fb1b33d50baf6

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 Bytes

Contents

module Databases
  
  # ---------------------------------------------------------------------------  
  get "/db/:page" do
    page       = params[:page].to_i || 1
    path_ids   = session[:path_ids]
    path_names = session[:path_names]
          
    @cltns     = options.connection.paginate_db( path_names, page, 10 )
    @title     = title_for( path_names )    
    @back_url  = "/explore/back"
    
    erb :db_list
  end  
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongo3-0.0.2 lib/controllers/databases.rb