Changeset 362

Show
Ignore:
Timestamp:
03/17/09 18:01:17 (9 years ago)
Author:
samuraraujo
Message:
 
Location:
Explorator/trunk/app
Files:
2 modified

Legend:

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

    r361 r362  
    1010  def session_init 
    1111    #puts  session[:application].instance 
    12     if session[:application] == nil   
     12    if session[:application] == nil  
    1313      puts 'initializing session' 
    1414      session[:disablerepositories]=Array.new 
  • Explorator/trunk/app/models/explorator_application.rb

    r356 r362  
    2121    super() 
    2222    @uri = 'http://www.tecweb.inf.puc-rio.br/application/id/'+  id + '/' 
     23    instance() 
    2324  end 
    2425  def instance()     
     
    3031      @instance.save 
    3132    end  
    32  
    3333    @instance 
    3434  end 
     
    4040    puts '## Adding to cache ##' 
    4141    puts resourceset.uri 
     42    puts @cache 
    4243    @cache[RDF::Resource.new(resourceset.uri)] = resourceset     
    4344    if instance.explorator::set == nil