教学案例

dev_bj
jingquan huang 5 years ago
parent c092697e29
commit d699c91363

@ -1,7 +1,7 @@
class LibrariesController < ApplicationController
layout 'base_library'
before_filter :require_login
before_filter :require_login, :except => [:index]
def index
libraries = Library.where(nil)

@ -2659,7 +2659,7 @@ RedmineApp::Application.routes.draw do ## oauth相关
resource :sso, only: [:show, :create]
# library
resources :libraries do
resources :libraries, :path => "moop_cases" do
get :publish_success, on: :collection
end

Loading…
Cancel
Save