Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- component {
- public void function index(any event) {
- // Grab the event collection from the event.
- local.rc = event.getCollection();
- // Set the welcome message into the event.
- local.rc.welcomeMessage = 'Welcome to ColdBox!';
- // Set the view which the user will see.
- event.setView('home');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement