Sha256: 97b199e8d453087ff6f7a163519e2ac6b641b516de9c4161fa4dc8ee3dd03d36

Contents?: true

Size: 364 Bytes

Versions: 7

Compression:

Stored size: 364 Bytes

Contents

=begin
Have a PC site that you want to add galakei templates for? Put your views in app/views.galakei and they'll be used in preference to your normal app/views
=end
class Galakei::Filter::Views < Galakei::Filter::Base
  # :stopdoc:
  def filter
    logger.debug("appending galakei views")
    prepend_view_path(::Rails.root.join('app','views.galakei'))
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
galakei-0.13.7 lib/galakei/filter/views.rb
galakei-0.13.6 lib/galakei/filter/views.rb
galakei-0.13.5 lib/galakei/filter/views.rb
galakei-0.13.4 lib/galakei/filter/views.rb
galakei-0.13.3 lib/galakei/filter/views.rb
galakei-0.13.2 lib/galakei/filter/views.rb
galakei-0.13.1 lib/galakei/filter/views.rb