Sha256: 773f6ba3c0df653243d1307b188cab80605c9d4e80db62f0624c8e278282910f

Contents?: true

Size: 270 Bytes

Versions: 4

Compression:

Stored size: 270 Bytes

Contents

module Tasuku
  module Concerns::Controllers::TasksController
    extend ActiveSupport::Concern

    included do
      before_action :set_task

      def show
      end

      private

      def set_task
        @task = Task.find params[:id]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tasuku-1.1.0 lib/tasuku/concerns/controllers/tasks_controller.rb
tasuku-1.0.1 lib/tasuku/concerns/controllers/tasks_controller.rb
tasuku-0.1.1 lib/tasuku/concerns/controllers/tasks_controller.rb
tasuku-0.1.0 lib/tasuku/concerns/controllers/tasks_controller.rb