Sha256: 860c18e80e110af711475d41875826e0cd7eaf5f86625193632c15c9ad3577e8

Contents?: true

Size: 502 Bytes

Versions: 26

Compression:

Stored size: 502 Bytes

Contents

class TypesController < ApplicationController

  # GET /sources
  # GET /sources.xml
  def index
    respond_to do |format|
      format.html # index.html.erb
      format.xml  { render :xml => @sources }
    end
  end

  # GET /sources/1
  # GET /sources/1.xml
  def show
    @type = N::SourceClass.make_uri(params[:id], "_")
    @page_title = "Talia | #{@type.to_name_s}"
    respond_to do |format|
      format.html # show.html.erb
      format.xml  { render :xml => @source }
    end
  end
   
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
talia_core-0.4.7 generators/talia_base/templates/app/controllers/types_controller.rb
talia_core-0.4.6 generators/talia_base/templates/app/controllers/types_controller.rb
talia_core-0.4.5 generators/talia_base/templates/app/controllers/types_controller.rb
talia_core-0.4.4 generators/talia_base/templates/app/controllers/types_controller.rb
talia_core-0.4.3 generators/talia_base/templates/app/controllers/types_controller.rb
talia_core-0.4.2 generators/talia_base/templates/app/controllers/types_controller.rb