Sha256: 669ad78a96d236ee23f55572088010cd79abf6d1a39cb05ae9e46182a8715f65

Contents?: true

Size: 178 Bytes

Versions: 2

Compression:

Stored size: 178 Bytes

Contents

class AuthenticatedController < ApplicationController
  include Foyer::Controller::Helpers

  before_action :authenticate_user!

  def index
    render body: 'success'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foyer-0.5.0 spec/dummy/app/controllers/authenticated_controller.rb
foyer-0.4.0 spec/dummy/app/controllers/authenticated_controller.rb