Sha256: e378621e277d939cf8b924a04476d08857f13f14a1d9d2e3d92508802dfc3579

Contents?: true

Size: 271 Bytes

Versions: 4

Compression:

Stored size: 271 Bytes

Contents

module NippoCore
  class ApplicationController < ActionController::Base
    protect_from_forgery with: :exception
    before_action :authenticate_user!

  private
    def find_group
      @group = NippoCore::Group.find(params[:group_id] || params[:id])
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nippo_core-1.0.2 app/controllers/nippo_core/application_controller.rb
nippo_core-1.0.1 app/controllers/nippo_core/application_controller.rb
nippo_core-1.0.0 app/controllers/nippo_core/application_controller.rb
nippo_core-0.3.0 app/controllers/nippo_core/application_controller.rb