Permalink
Browse files

font,posts controller 验证

  • Loading branch information...
ranxian committed Oct 28, 2012
1 parent 00341b5 commit 801e3a0e64d0028e70de0bfb6e4afd7795f88679
Showing with 3 additions and 3 deletions.
  1. +1 −1 app/controllers/posts_controller.rb
  2. +2 −2 app/views/posts/show.html.slim
@@ -1,5 +1,5 @@
class PostsController < ApplicationController
- before_filter :ensure_admin!, only: [:destroy, :delete_comment]
+ before_filter :ensure_admin!
# GET /posts
# GET /posts.json
def index
@@ -18,9 +18,9 @@
right: 0px;
}
.floor {
- font-family: 'Courier New', Times, serif;
+ font-family: sans-serif, Times, serif;
font-size: 16px;
- font-weight: bold;
+ font-weight: 0;
position: absolute;
top: 10px;
right: 25px;

0 comments on commit 801e3a0

Please sign in to comment.