Changeset 415

Show
Ignore:
Timestamp:
05/05/09 17:50:09 (9 years ago)
Author:
samuraraujo
Message:
 
Files:
1 modified

Legend:

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

    r411 r415  
    1616  #default rails method. returns the view index.rhtml. 
    1717  def index      
    18      
     18       
    1919  end 
    2020   
     
    4444      #creates a new set.  
    4545      #the expression must be passed by the uri 
     46       
    4647      set = EXPLORATOR::Set.new('http://www.tecweb.inf.puc-rio.br/resourceset/id/' + UUID.random_create.to_s)        
    47        
     48          
    4849      set.init(params[:exp]) 
    49        
     50            
    5051      #the object @resourceset is a global object that will be used by render 
    5152      @resourceset = set      
    52        
     53             
    5354      view = params['view'] 
     55             
    5456      view = 'subject_view' if  params['view'] == nil || params['view'] == 'null' 
     57           
    5558      #render the _window.rhtml view 
    5659      render :partial => view,:layout=>false;