You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.
In the latest gem release of Lita, there isn't an easy way to do this. What you'd have to do is create an event callback for the "loaded" event and then define the route inside the callback. This makes it possible because the configuration values have been finalized at this point in the start up process.
On the master branch, which will someday be Lita 5, there's an after_config method that makes this pattern easier.
Is there a way to optionally make a route a command using a config parameter?
For example:
The text was updated successfully, but these errors were encountered: