Class: Actions::Helpers::Humanizer::ContentViewResource
  
  
  
  
  
    - Inherits:
 
    - 
      Resource
      
        
          - Object
 
          
            - Resource
 
          
            - Actions::Helpers::Humanizer::ContentViewResource
 
          
        
        show all
      
     
  
  
  
  
  
  
  
  
  
  
    - Defined in:
 
    - app/lib/actions/helpers/humanizer.rb
 
  
  
 
  
    
      Instance Method Summary
      collapse
    
    
  
  
  
  
  
  
  
  
  
  Methods inherited from Resource
  #humanized_value, inherited
  
    Instance Method Details
    
      
  
  
    #humanized_name  ⇒ Object 
  
  
  
  
    
      
147
148
149 
     | 
    
      # File 'app/lib/actions/helpers/humanizer.rb', line 147
def humanized_name
  _('content view')
end
     | 
  
 
    
      
  
  
    #link(data)  ⇒ Object 
  
  
  
  
    
      
151
152
153
154
155 
     | 
    
      # File 'app/lib/actions/helpers/humanizer.rb', line 151
def link(data)
  if (content_view_id = fetch_data(data, :content_view, :id))
    "/content_views/#{content_view_id}/versions"
  end
end
     | 
  
 
    
      
  
  
    #name  ⇒ Object 
  
  
  
  
    
      
143
144
145 
     | 
    
      # File 'app/lib/actions/helpers/humanizer.rb', line 143
def name
  :content_view
end 
     |