Class: SbdevCoreController
- Inherits:
-
InheritedResources::Base
- Object
- InheritedResources::Base
- SbdevCoreController
show all
- Defined in:
- app/controllers/sbdev_core_controller.rb
Instance Method Summary
collapse
Instance Method Details
#create ⇒ Object
23
24
25
|
# File 'app/controllers/sbdev_core_controller.rb', line 23
def create
create!{ request.referer }
end
|
#destroy ⇒ Object
35
36
37
|
# File 'app/controllers/sbdev_core_controller.rb', line 35
def destroy
destroy!{ request.referer }
end
|
#edit ⇒ Object
27
28
29
|
# File 'app/controllers/sbdev_core_controller.rb', line 27
def edit
edit!(:layout => !request.xhr?)
end
|
#index ⇒ Object
11
12
13
|
# File 'app/controllers/sbdev_core_controller.rb', line 11
def index
index!(:layout => !request.xhr?)
end
|
#new ⇒ Object
19
20
21
|
# File 'app/controllers/sbdev_core_controller.rb', line 19
def new
new!(:layout => !request.xhr?)
end
|
#show ⇒ Object
15
16
17
|
# File 'app/controllers/sbdev_core_controller.rb', line 15
def show
show!(:layout => !request.xhr?)
end
|
#update ⇒ Object
31
32
33
|
# File 'app/controllers/sbdev_core_controller.rb', line 31
def update
update!{ request.referer }
end
|