Changeset 398

Show
Ignore:
Timestamp:
04/09/09 15:32:23 (9 years ago)
Author:
samuraraujo
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Explorator/trunk/app/controllers/repository_controller.rb

    r396 r398  
    6161    end 
    6262    begin 
    63       adapter = ConnectionPool.add_data_source :type => :sparql, :url => params[:uri], :results => :sparql_xml, :caching =>true    
    64       adapter.title=params[:title]     
     63      adapter = ConnectionPool.add_data_source :title =>params[:title]    , :type => :sparql, :url => params[:uri], :results => :sparql_xml, :caching =>true    
     64  
    6565      adapter.limit=params[:limit]  if params[:limit] != nil && params[:limit].rstrip != ''   
    6666      session[:addrepositories]<< adapter