url fix for announcements...
This commit is contained in:
1 parent
497dc63351
commit
e21bbac441
2 files changed
+3
-2
No files matched your search
+1
-1
@@ -1,5 +1,5 @@
|
||||
# encoding: utf-8
|
||||
class Admin::BulletinsController < ApplicationController
|
||||
class BulletinsController < ApplicationController
|
||||
before_filter :set_I18n
|
||||
|
||||
def get_bulletins
|
||||
+2
-1
@@ -10,7 +10,6 @@ Rails.application.routes.draw do
|
||||
delete 'announcement/deletefeed', to: 'announcements#deletefeed'
|
||||
get 'announcement/destroy_preview/:slug_title-:uid', to: 'announcements#destroy_preview'
|
||||
get 'announcement/approve_bulletin', to: 'announcements#approve_bulletin'
|
||||
get 'announcement.json', to: 'bulletins#get_bulletins'
|
||||
get 'announcement/feed', to: 'announcements#feed'
|
||||
get 'announcements/feedform', to: 'announcements#feedform'
|
||||
resources :announcements
|
||||
@@ -25,6 +24,8 @@ Rails.application.routes.draw do
|
||||
get "/xhr/announcements/feed/:uid" => "announcement_feeds#feed"
|
||||
get "/xhr/announcements/rssfeed/:uid" => "announcement_feeds#rssfeed"
|
||||
get "/xhr/announcements/feeds" => "announcement_feeds#feeds"
|
||||
get '/xhr/announcements/announcement.json', to: 'bulletins#get_bulletins'
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user