Sha256: ab0d1cb253e2a2e1d767f9bc5a13947e8f1bb26ca162713b01280623f723d349

Contents?: true

Size: 321 Bytes

Versions: 34

Compression:

Stored size: 321 Bytes

Contents

require_dependency "ishapi/application_controller"
module Ishapi
  class StockWatchesController < ApplicationController

    before_action :check_jwt

    def index
      authorize! :index, IronWarbler::StockWatch
      @stock_watches = IronWarbler::StockWatch.active # @TODO: restrict by-profile, no?
    end

  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
ishapi-0.1.8.206 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.205 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.204 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.203 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.202 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.201 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.200 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.199 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.197 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.196 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.195 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.194 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.193 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.192 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.191 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.190 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.189 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.188 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.187 app/controllers/ishapi/stock_watches_controller.rb
ishapi-0.1.8.185 app/controllers/ishapi/stock_watches_controller.rb