shot_mvc 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/shot_mvc/helper_router.rb +7 -0
  2. metadata +2 -1
@@ -0,0 +1,7 @@
1
+ class HelperRouter
2
+ def initialize(client)
3
+ if Dir.exists? "app/helpers"
4
+ Dir.new("app/helpers").each do |helper_file| require_relative "./app/helpers/#{helper_file}" end
5
+ end
6
+ end
7
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shot_mvc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -59,6 +59,7 @@ files:
59
59
  - lib/shot_mvc/controller_router.rb
60
60
  - lib/shot_mvc/element.rb
61
61
  - lib/shot_mvc/element_loader.rb
62
+ - lib/shot_mvc/helper_router.rb
62
63
  - lib/shot_mvc/model_router.rb
63
64
  - lib/shot_mvc/mvc_application.rb
64
65
  - lib/shot_mvc/session_router.rb