Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
231b1309
Commit
231b1309
authored
Sep 23, 2013
by
Usman Khalid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed hardcoded case for edge for /courses
parent
b2af990d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
5 deletions
+1
-5
lms/djangoapps/branding/views.py
+1
-5
No files found.
lms/djangoapps/branding/views.py
View file @
231b1309
...
...
@@ -52,10 +52,6 @@ def courses(request):
if
not
settings
.
MITX_FEATURES
.
get
(
'COURSES_ARE_BROWSABLE'
):
raise
Http404
university
=
branding
.
get_university
(
request
.
META
.
get
(
'HTTP_HOST'
))
if
university
==
'edge'
:
return
render_to_response
(
'university_profile/edge.html'
,
{})
# we do not expect this case to be reached in cases where
# marketing
and edge are enabled
# marketing
is enabled or the courses are not browsable
return
courseware
.
views
.
courses
(
request
)
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