Skip to content

Commit

Permalink
fix login required message
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Fuchs committed Sep 16, 2008
1 parent 7368e5e commit 3e491c7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -43,7 +43,7 @@ def admin_section_path_for(section)

def require_authentication
unless current_user and current_user.has_role?(Role.build(:admin, @site))
return redirect_to_login("You need to be a moderator to view this page.")
return redirect_to_login("You need to be an admin to view this page.")
end
super
end
Expand Down

0 comments on commit 3e491c7

Please sign in to comment.