metanol 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/metanol/engine_controller.rb +1 -1
- data/lib/metanol/version.rb +1 -1
- data/spec/support/application.rb +6 -4
- metadata +1 -1
data/lib/metanol/version.rb
CHANGED
data/spec/support/application.rb
CHANGED
@@ -22,14 +22,16 @@ end
|
|
22
22
|
|
23
23
|
class ApplicationController < ActionController::Base; end
|
24
24
|
|
25
|
-
class
|
26
|
-
og_meta :type, 'website'
|
27
|
-
og_meta :locale, 'uk_UA'
|
28
|
-
|
25
|
+
class ParentController < ApplicationController
|
29
26
|
wm_meta :alexa, 'alexa code'
|
30
27
|
wm_meta :bing, 'bing code'
|
31
28
|
wm_meta :google, 'google code'
|
32
29
|
wm_meta :yandex, 'yandex code'
|
30
|
+
end
|
31
|
+
|
32
|
+
class HomeController < ParentController
|
33
|
+
og_meta :type, 'website'
|
34
|
+
og_meta :locale, 'uk_UA'
|
33
35
|
|
34
36
|
def new
|
35
37
|
render :inline => <<-ERB
|