Sha256: a4a86c8e691d2b92edd74385c384521b049a371fca0b8b0a42e38dd9a256bec6

Contents?: true

Size: 421 Bytes

Versions: 14

Compression:

Stored size: 421 Bytes

Contents

class Conductor
  module Controller
    module Dashboard

      ActionController::Base.view_paths.unshift File.join(File.dirname(__FILE__), "../views")
      
      def index
        @weights = Conductor::Experiment::Weight.all
        @weight_history = Conductor::Experiment::History.all
        @dailies = Conductor::Experiment::Daily.all
        render :template => 'dashboard/index'
      end
      
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
conductor-0.8.3 lib/conductor/rails/controllers/dashboard.rb
conductor-0.8.1 lib/conductor/controller/dashboard.rb
conductor-0.7.2 lib/conductor/controller/dashboard.rb
conductor-0.7.1 lib/conductor/controller/dashboard.rb
conductor-0.7.0 lib/conductor/controller/dashboard.rb
conductor-0.6.5 lib/conductor/controller/dashboard.rb
conductor-0.6.4 lib/conductor/controller/dashboard.rb
conductor-0.6.3 lib/conductor/controller/dashboard.rb
conductor-0.5.15 lib/conductor/controller/dashboard.rb
conductor-0.5.14 lib/conductor/controller/dashboard.rb
conductor-0.5.13 lib/conductor/controller/dashboard.rb
conductor-0.5.12 lib/conductor/controller/dashboard.rb
conductor-0.5.11 lib/conductor/controller/dashboard.rb
conductor-0.5.10 lib/conductor/controller/dashboard.rb