gem "request_store", "1.0.5"
gem "mime-types", (RUBY_VERSION >= "2.0" ? "~> 3.0" : "~> 2.99")
gem "protected_attributes"
-gem "actionpack-action_caching"
gem "actionpack-xml_parser"
gem "roadie-rails"
gem "mimemagic"
accept_api_auth :index, :show, :create, :update, :destroy
require_sudo_mode :destroy
- after_filter :only => [:create, :edit, :update, :archive, :unarchive, :destroy] do |controller|
- if controller.request.post?
- controller.send :expire_action, :controller => 'welcome', :action => 'robots'
- end
- end
-
helper :custom_fields
helper :issues
helper :queries
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class WelcomeController < ApplicationController
- caches_action :robots
def index
@news = News.latest User.current