Sha256: 91d664637f1c265a2763c8c0e0ed4c7f992546f07686c7141e9a8fb7462d3fd0
Contents?: true
Size: 381 Bytes
Versions: 14
Compression:
Stored size: 381 Bytes
Contents
# frozen_string_literal: true class GamesController < ApplicationController include Azeroth::Resourceable skip_before_action :verify_authenticity_token resource_for :game, except: :delete private def games publisher.games end def publisher @publisher ||= Publisher.find(publisher_id) end def publisher_id params.require(:publisher_id) end end
Version data entries
14 entries across 14 versions & 1 rubygems