Fix backend gallery show page go_back issue and theater exit fullscreen

This commit is contained in:
manson committed 2014-07-21 16:28:09 +08:00
1 parent 6f2ca20be3
commit 1825842ad0
6 files changed
+47 -19

No files matched your search

+3 -1
View File
@@ -4,12 +4,14 @@ Rails.application.routes.draw do
scope "(:locale)", locale: Regexp.new(locales.join("|")) do
namespace :admin do
get "galleries/get_photoData_json" => "galleries#get_photoData_json"
resources :galleries do
get "imgs" => "galleries#imgs"
end
resources :images
post "galleries/upload_image" => "galleries#upload_image"
get "new_images" => "galleries#new_images"
post "galleries/set_cover" => "galleries#set_cover"
post "galleries/delete_photos" => "images#delete_photos"