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