lib/mutx/routes.rb in mutx-0.1.31 vs lib/mutx/routes.rb in mutx-0.1.32
- old
+ new
@@ -145,10 +145,10 @@
res.redirect path
end
end
- on "api/input" do |id|
+ on "api/input/:id" do |id|
$result = basic_auth(env) do |user, pass|
user == "inputs" && pass == "InputsAdmin"
end
if $result.eql? true
Mutx::Support::Log.debug "REFERENCE IS => #{id}"
\ No newline at end of file