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

Version Path
myreplicator-0.0.16 app/controllers/myreplicator/home_controller.rb
myreplicator-0.0.15 app/controllers/myreplicator/home_controller.rb
myreplicator-0.0.14 app/controllers/myreplicator/home_controller.rb
myreplicator-0.0.13 app/controllers/myreplicator/home_controller.rb
myreplicator-0.0.12 app/controllers/myreplicator/home_controller.rb
myreplicator-0.0.11 app/controllers/myreplicator/home_controller.rb
myreplicator-0.0.10 app/controllers/myreplicator/home_controller.rb
myreplicator-0.0.9 app/controllers/myreplicator/home_controller.rb
myreplicator-0.0.7 app/controllers/myreplicator/home_controller.rb
myreplicator-0.0.6 app/controllers/myreplicator/home_controller.rb
myreplicator-0.0.5 app/controllers/myreplicator/home_controller.rb
myreplicator-0.0.4 app/controllers/myreplicator/home_controller.rb
myreplicator-0.0.3 app/controllers/myreplicator/home_controller.rb
myreplicator-0.0.2 app/controllers/myreplicator/home_controller.rb
myreplicator-0.0.1 app/controllers/myreplicator/home_controller.rb