Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
module_instructions
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
module_instructions
Merge requests
!4
3415195 - Add support for LICENSE
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
3415195 - Add support for LICENSE
issue/module_instructions-3415195:3415195-add-support-for
into
2.0.x
Overview
0
Commits
1
Pipelines
0
Changes
4
Merged
Viktor Holovachek
requested to merge
issue/module_instructions-3415195:3415195-add-support-for
into
2.0.x
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
4
Expand
Closes
#3415195
0
0
Merge request reports
Compare
2.0.x
2.0.x (base)
and
latest version
latest version
9b1f2de4
1 commit,
1 year ago
4 files
+
9
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
src/Controller/ModuleInstructionsController.php
+
2
−
2
Options
@@ -38,14 +38,14 @@ class ModuleInstructionsController extends ControllerBase {
}
/**
* Creates a title for the
README page from module and file's nam
e.
* Creates a title for the
instruction pag
e.
*/
public
function
getTitle
(
$module
,
$file
)
{
return
$this
->
t
(
'@module (@file)'
,
[
'@module'
=>
$module
,
'@file'
=>
$file
]);
}
/**
* Displays
README
file.
* Displays
the instruction
file.
*/
public
function
instruction
(
$module
,
$file
)
{
$fullpath
=
$this
->
pathResolver
->
getPath
(
'module'
,
$module
)
.
'/'
.
$file
;
Loading