Cross Reference:
xref
: /
ontohub
/
app
/
views
/
tools
/
new.html.haml
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
api_keys_controller.rb revision ef94c50e972402c1f2257068838128424f6bccf1
class
ApiKeysController
<
InheritedResources
::
Base
before_filter
:
authenticate_user
!
actions
:
create
respond_to
:
html
def
create
respond_with
do
|
format
|
format.html
do
ApiKey.create
_new_key
!
(
current_user
)
redirect_to
edit_user_registration_path
(
anchor
:
'api_key'
)
,
notice
: t
(:
successful_api_key_generation
)
end
end
end
end