Method: Cmtool::SvgFilesController#index
- Defined in:
- app/controllers/cmtool/svg_files_controller.rb
#index ⇒ Object
GET /svg_files GET /svg_files.xml
5 6 7 8 9 10 11 12 |
# File 'app/controllers/cmtool/svg_files_controller.rb', line 5 def index @svg_files = Cmtool::SvgFile.all respond_to do |format| format.html # index.html.erb format.xml { render :xml => @svg_files } end end |