Sha256: 83193d8865ac4fa3c1db488ae35a5ba309a9764c84ce7dda87e6d4ef8f8c9195

Contents?: true

Size: 387 Bytes

Versions: 6

Compression:

Stored size: 387 Bytes

Contents

class Admin::TaliaSourcesController < Admin::AdminSiteController
  
  hobo_model_controller
  
  auto_actions :all
  
  def show
    @talia_source = find_instance
    @real_source = @talia_source.real_source
    @property_names = @real_source.direct_predicates
    @properties = {}
    @property_names.each do |pred|
      @properties[pred.to_s] = @real_source[pred]
    end
  end
  
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
talia_core-0.7.0 generators/talia_admin/templates/app/controllers/admin/talia_sources_controller.rb
talia_core-0.5.4 generators/talia_admin/templates/app/controllers/admin/talia_sources_controller.rb
talia_core-0.5.3 generators/talia_admin/templates/app/controllers/admin/talia_sources_controller.rb
talia_core-0.5.2 generators/talia_admin/templates/app/controllers/admin/talia_sources_controller.rb
talia_core-0.5.1 generators/talia_admin/templates/app/controllers/admin/talia_sources_controller.rb
talia_core-0.5.0 generators/talia_admin/templates/app/controllers/admin/talia_sources_controller.rb