Sha256: 2c6de42f2f85e0189f209b4923f6cb51e526881c889dd179e92261e3ab491e40
Contents?: true
Size: 835 Bytes
Versions: 1
Compression:
Stored size: 835 Bytes
Contents
module CommitFilter class ApplicationController < ActionController::Base helper_method :framework_views_path, :commit_filter_stylesheets, :commit_filter_javascripts, :framework_presenter def self.framework_views_path "commit_filter/frameworks/#{CommitFilter.configuration.frontend_framework}" end def framework_views_path self.class.framework_views_path end def commit_filter_stylesheets @commit_filter_stylesheets || ['application', 'commit_filter/application'] end def commit_filter_javascripts @commit_filter_javascripts || ['application'] end private def framework_presenter @framework_presenter ||= CommitFilter::Presenters::Frameworks::TwitterBootstrap::Version3Presenter.new( self.view_context ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
commit_filter-0.1.0 | app/controllers/commit_filter/application_controller.rb |