Cross Reference:
xref
: /
ontohub
/
app
/
controllers
/
admin
/
logics_controller.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
logics_controller.rb revision dba92738e2bd8d02ad6364db0d0649924bfad083
class
Admin
::
LogicsController
<
ApplicationController
before_filter
:
authenticate_admin
!
inherit_resources
actions
:
index
, :
new
, :
create
respond_to
:
json
, :
xml
with_role
:
admin
def
create
super
do
|
success
,
failure
|
success.html
{
redirect_to
collection_path
}
end
end
def
update
super
do
|
success
,
failure
|
success.html
{
redirect_to
collection_path
}
end
end
end