Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
chiu | 0bba6cea01 |
|
@ -16,7 +16,7 @@ def initialize
|
||||||
# .with_tags(filters("tags"))
|
# .with_tags(filters("tags"))
|
||||||
|
|
||||||
@criterias = search_data(@criterias,[:title]).page(params[:page]).per(10)
|
@criterias = search_data(@criterias,[:title]).page(params[:page]).per(10)
|
||||||
@url = "/" + I18n.locale.to_s + "/" +Page.where(:module => "e_paper").first.url + "?method=papers"
|
#@url = "/" + I18n.locale.to_s + "/" +Page.where(:module => "e_paper").first.url + "?method=papers"
|
||||||
render :partial => "index" if request.xhr?
|
render :partial => "index" if request.xhr?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue