How to access css or js from public folder in Rails 4.0? -
i migrated application rails 3.2 4.0. having css , js in assets folder , public -> technology folder. while running application, css , js under public folder not applicable.
this layout:
<!doctype html> <head> <meta charset="utf-8"> <title>abc technologies</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/technology/css/vendor/bootstrap.css"> <link rel="stylesheet" href="/technology/css/all.css"> <link rel="stylesheet" href="/technology/css/colorbox.css"> <%= javascript_include_tag "application" %> <script src="/technology/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script> <script src="/technology/js/vendor/bootstrap.min.js"></script> </head> <body> ------------ code --------------- </body> </html>
how access css / js public folder in layout? or there configurations missed or made true/false in development.rb / application.rb etc; ? link followed.
Comments
Post a Comment