class ApiOnlyController

Public Instance Methods

nothing() click to toggle source
# File actionpack/test/controller/action_pack_assertions_test.rb, line 134
def nothing
  head :ok
end
redirect_to_new_route() click to toggle source
# File actionpack/test/controller/action_pack_assertions_test.rb, line 138
def redirect_to_new_route
  redirect_to new_route_url
end