Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F298956
RootController.pike
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Dec 25 2024, 9:07 PM
Size
360 B
Mime Type
text/plain
Expires
Fri, Dec 27, 9:07 PM (4 w, 8 h ago)
Engine
blob
Format
Raw Data
Handle
60647
Attached To
R148 fins
RootController.pike
View Options
//! A mixin for controllers at the root of the application tree
//!
//! Currently, this class merely registers the /static/ directory as a
//! @[Fins.StaticController].
protected
void
create
(
object
a
)
{
string
static_dir
=
Stdio
.
append_path
(
a
->
config
->
app_dir
,
"static/"
);
::
`
[](
"add_action"
,
3
)(
"static"
,
Fins
.
StaticController
(
a
,
static_dir
,
1
));
}
Event Timeline
Log In to Comment