diff --git a/README.md b/README.md index 736197ff..fbb0c120 100644 --- a/README.md +++ b/README.md @@ -60,8 +60,8 @@ for the configuration we use on Retrospring. #### Configure It - # Change into the justask directory - $ cd justask + # Change into the project directory + $ cd retrospring # Copy the example config $ cp config/justask.yml.example config/justask.yml diff --git a/app/assets/stylesheets/scss/navbar.scss b/app/assets/stylesheets/scss/navbar.scss index 3efc537f..dea8c9dd 100644 --- a/app/assets/stylesheets/scss/navbar.scss +++ b/app/assets/stylesheets/scss/navbar.scss @@ -133,7 +133,7 @@ border: none; } -@media (min-width: 768px) { +@media (min-width: 769px) { nav.navbar .nav > li:not(.profile--image-dropdown) { -moz-osx-font-smoothing: grayscale; position: relative; diff --git a/app/controllers/ajax/question_controller.rb b/app/controllers/ajax/question_controller.rb index 56b0e35b..c07305d2 100644 --- a/app/controllers/ajax/question_controller.rb +++ b/app/controllers/ajax/question_controller.rb @@ -86,7 +86,7 @@ class Ajax::QuestionController < ApplicationController @message = I18n.t('messages.question.preview.fail') begin - @markdown = markdown(params[:md], Time.new) + @markdown = markdown params[:md] @message = I18n.t('messages.question.preview.okay') rescue @status = :fail