mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
0f0e473c7f
ENHANCEMENT Applied LeftAndMain::require_javascript() to blog bbcodehelp.js
13 lines
332 B
PHP
13 lines
332 B
PHP
<?php
|
|
|
|
// Add the extension to the Member class.
|
|
Object::add_extension('Member', 'BlogRole');
|
|
|
|
// Director rule for ability to visit mysite.com/confirm/signup/123
|
|
Director::addRules(50, array(
|
|
'confirm-subscription/$Action/$ID' => 'ConfirmNewsletterSignup'
|
|
));
|
|
|
|
LeftAndMain::require_javascript('blog/javascript/bbcodehelp.js');
|
|
?>
|