Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
B
Backend Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SpinShare
Backend Server
Commits
bd6ef250
Commit
bd6ef250
authored
Jun 01, 2020
by
SpinShare
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed review button, fixed cors
parent
6508de39
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
src/Controller/SongController.php
src/Controller/SongController.php
+1
-1
templates/base.html.twig
templates/base.html.twig
+0
-1
No files found.
src/Controller/SongController.php
View file @
bd6ef250
...
...
@@ -55,7 +55,7 @@ class SongController extends AbstractController
$data
[
'activeAction'
]
=
$request
->
query
->
get
(
'action'
);
if
(
$this
->
getUser
()
!=
null
)
{
$resultUserReview
=
$em
->
getRepository
(
SongReview
::
class
)
->
findBy
(
array
(
'user'
=>
$this
->
getUser
()));
$resultUserReview
=
$em
->
getRepository
(
SongReview
::
class
)
->
findBy
(
array
(
'
song'
=>
$resultSong
,
'
user'
=>
$this
->
getUser
()));
$data
[
'userReview'
]
=
$resultUserReview
;
if
(
$this
->
getUser
()
!=
$resultUploader
)
{
...
...
templates/base.html.twig
View file @
bd6ef250
...
...
@@ -8,7 +8,6 @@
<!-- Meta Tags -->
<link
rel=
"icon"
type=
"image/png"
href=
"
{{
asset
(
'assets/img/favicon.png'
)
}}
"
/>
<meta
http-equiv=
"Content-Security-Policy"
content=
"script-src 'self' 'unsafe-inline';"
/>
<meta
property=
"og:site_name"
content=
"SpinSha.re"
/>
<meta
name=
"description"
content=
"Share your custom charts for the rhythm game Spin Rhythm XD on SpinSha.re"
/>
{%
block
meta
%}{%
endblock
%}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment