Sha256: 57122bcaae09ccc609528e46370d4d5a61f0d6b721e1aee82c798976cfa3418e

Contents?: true

Size: 382 Bytes

Versions: 3

Compression:

Stored size: 382 Bytes

Contents

module PivotalReporter
  class ApplicationController < ActionController::Base

    PivotalTracker::Client.token = PivotalReporter::Engine.config.token

    def pivotal_project
      PivotalTracker::Project.find(PivotalReporter::Engine.config.project_id)
    end

    def pivotal_unique_label
      "pivotal_reporter_#{PivotalReporter::Engine.config.project_id}"
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pivotal_reporter-0.7.2 app/controllers/pivotal_reporter/application_controller.rb
pivotal_reporter-0.7.1 app/controllers/pivotal_reporter/application_controller.rb
pivotal_reporter-0.7.0 app/controllers/pivotal_reporter/application_controller.rb