Update personal_books_controller.rb

This commit is contained in:
chiu 2019-08-15 10:17:48 +08:00
parent e6bcd9af37
commit f76e785d9f
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class PersonalBooksController < ApplicationController
case params[:selectbox] case params[:selectbox]
when "book_title", "extracted_chapters", "default" when "book_title", "extracted_chapters", "default"
if params[:selectbox] == "dafault" if params[:selectbox] == "dafault"
search_temp = "book_title" search_temp = 'book_title'
else else
search_temp = params[:selectbox] search_temp = params[:selectbox]
trans = params[:selectbox] trans = params[:selectbox]