Class: Challah::Test::RestrictionsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/test/restrictions_controller.rb

Overview

This controller is only used for testing purposes, it does not actually get used outside of test.

Instance Method Summary collapse

Instance Method Details

#blahObject



27
28
29
# File 'app/controllers/test/restrictions_controller.rb', line 27

def blah
  head :ok
end

#editObject



23
24
25
# File 'app/controllers/test/restrictions_controller.rb', line 23

def edit
  head :ok
end

#indexObject



9
10
11
12
13
# File 'app/controllers/test/restrictions_controller.rb', line 9

def index
  current_user

  head :ok
end

#newObject



19
20
21
# File 'app/controllers/test/restrictions_controller.rb', line 19

def new
  head :ok
end

#showObject



15
16
17
# File 'app/controllers/test/restrictions_controller.rb', line 15

def show
  head :ok
end