Bugfix
This commit is contained in:
@@ -21,7 +21,7 @@ class UsersController < ApplicationController
|
||||
before_filter :require_admin, :only => [ :edit, :update, :destroy ]
|
||||
|
||||
def index
|
||||
@users = User.paginate(:page => params[:page], :per_page => 20, :order => 'last_seen')
|
||||
@users = User.paginate(:page => params[:page], :per_page => 20, :order => 'last_seen desc')
|
||||
|
||||
respond_to do |format|
|
||||
format.html
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
= link_to("Disciplinas", courses_url) + "›"
|
||||
= link_to(h(@course.full_name), course_url(@course)) + "›"
|
||||
= link_to("Wiki", course_wiki_url(@course))
|
||||
- if @wiki_page.title
|
||||
- if @wiki_page.title?
|
||||
= "›" + link_to(h(@wiki_page.title), course_wiki_instance_url(@course, @wiki_page))
|
||||
- @title = @title + " - #{h(@wiki_page.title)}"
|
||||
|
||||
|
||||
@@ -16,4 +16,4 @@
|
||||
%label{:for => 'wiki_page_description'} Descrição das alterações
|
||||
%dd= text_field('wiki_page', 'description', { :size => '80' })
|
||||
|
||||
%dt= check_box('wiki_page', 'front_page') + " Exibir página wiki na página inicial do curso"
|
||||
%dt= check_box('wiki_page', 'front_page') + " Exibir página wiki na página inicial do curso"
|
||||
|
||||
Reference in New Issue
Block a user