Sha256: 31dfab67dc3d89b6bbc3285da983d53bd385013dc6dec52a91c9d0915c6d4658
Contents?: true
Size: 362 Bytes
Versions: 3
Compression:
Stored size: 362 Bytes
Contents
class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception before_filter :authenticate_user! include DeviseRemoteUser::ControllerBehavior def index render text: "You have reached your destination!" end end
Version data entries
3 entries across 3 versions & 1 rubygems