Description:
fix layout problem, again
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@41 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r17:af60767c1f7f - - 1 file changed: 1 inserted, 1 deleted
@@ -5,7 +5,6 | |||
|
5 | 5 | verify :method => :post, :only => [:submit], |
|
6 | 6 | :redirect_to => { :action => :index } |
|
7 | 7 | |
|
8 | - layout 'application' | |
|
9 | 8 | |
|
10 | 9 | def index |
|
11 | 10 | redirect_to :action => 'login' |
@@ -17,6 +16,7 | |||
|
17 | 16 | end |
|
18 | 17 | |
|
19 | 18 | def list |
|
19 | + MainController.layout 'application' | |
|
20 | 20 | @problems = Problem.find_available_problems |
|
21 | 21 | @prob_submissions = Array.new |
|
22 | 22 | @user = User.find(session[:user_id]) |
You need to be logged in to leave comments.
Login now