Sha256: d039b7ea148a57b7a50dab19aa5b5d2ee1fd04d18f86cfe8e00c3f19fd138fc6

Contents?: true

Size: 269 Bytes

Versions: 1

Compression:

Stored size: 269 Bytes

Contents

module Tasks
  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

1 entries across 1 versions & 1 rubygems

Version Path
tasuku-0.0.1 lib/tasks/concerns/controllers/tasks_controller.rb