Sha256: 0a05891e6ee3b607f82fb85475c99c2ad445b031439017301bfc96abcb267c23
Contents?: true
Size: 530 Bytes
Versions: 15
Compression:
Stored size: 530 Bytes
Contents
require_dependency "myreplicator/application_controller" module Myreplicator class HomeController < ApplicationController def index @tab = 'home' @option = 'overview' @exports = Export.order('state DESC') respond_to do |format| format.html # index.html.erb format.json { render json: @exports } end end def errors @tab = 'home' @option = 'errors' @exports = Export.where("error is not null").order('source_schema ASC') end end end
Version data entries
15 entries across 15 versions & 1 rubygems