Closed brianmcmichael closed 7 years ago
I use "#"
with the default PathRouter
that I inject into OodApp
, so "#"
is the right solution.
Are you sure it returns nil
? The code sets default values if not defined...
Re-open if this is still an issue. But it seems to be fixed already.
Our suggested method of obtaining the OodAppkit dashboard URI is to call
OodAppkit.dashboard.url.to_s
OodAppkit.dashboard
currently returnsnil
if it is not configured, and so calling.url
will raise a NoMethodError exception.An app probably shouldn't crash if the dashboard is not configured, may be more appropriate to set url to
"#"
or empty string on calls to an unconfiguredOodAppkit.dashboard.uri